LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 01-22-2005, 07:49 PM   #1
ELconkestador
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 2, SuSE 10
Posts: 25

Rep: Reputation: 15
ndiswrapper for wireless working but no network acces


I have a dell inspiron 5150 with fedora core 2 on it. i have succesfully installed ndiswrapper and drivers for my wireless card. iwlistwlan0 scan will find my router AP, but I cannot get an IP address. I am not able to acces the internet or the local network. any advice on this would be appreceated. Also if you know how to get linux to do this automaticaly on boot up it would be very cool

lspci produced this:
02:02.0 Network controller: Broadcom Corporation BCM94306 802.11g (rev 03)

ifconfig produced this:
wlan0 Link encap:Ethernet HWaddr 00:90:96:CD:27:B7
inet6 addr: fe80::290:96ff:fecd:27b7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3242 errors:0 dropped:0 overruns:0 frame:0
TX packets:2498 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1051078 (1.0 Mb) TX bytes:852984 (832.9 Kb)
Interrupt:193 Memory:faffc000-faffdfff

iwconfig produced this:
wlan0 IEEE 802.11g ESSID:"NETGEAR"
Mode:Managed Frequency:2.462GHz Access Point: 00:09:5BD:F3:3E
Bit Rate:54Mb/s Tx-Power:25 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption keyff
Power Managementff
Link Quality:100/100 Signal level:-36 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:14 Invalid misc:16466 Missed beacon:0

route produced this:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0

thanks
 
Old 01-23-2005, 12:03 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Moved: This thread is more suitable in Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 01-23-2005, 01:51 PM   #3
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Hello there!

You can edit the network-scripts for your interface to get it to work on boot. They should be under /etc/sysconfig/network-scripts
Just change the onboot=no to onboot=yes.
You are almost there, you just need to get an ipaddress from the router. Use
dhclient wlan0
for the time being. This can also be altered in your network script.
Regards
Chris
 
Old 01-23-2005, 02:43 PM   #4
ELconkestador
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 2, SuSE 10
Posts: 25

Original Poster
Rep: Reputation: 15
i have tried to use dhclient, I belive that is where the problem is. when I use dhclient wlaon0 I get this:

/sbin/dhclient-script: configuration for wlan0 not found.
dhclient.c(2046): null pointer
DHCPDECLINE on wlan0 to 255.255.255.255 port 67
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from 192.168.0.1
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1


I get this message over and over agian. dhclient works for my wired NIC when plugged into the router, so It's not a problem with that. I also have no encryption or anything like that to interfere. thanks for trying to help!

Last edited by ELconkestador; 01-23-2005 at 02:47 PM.
 
Old 01-23-2005, 04:37 PM   #5
ELconkestador
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 2, SuSE 10
Posts: 25

Original Poster
Rep: Reputation: 15
I FREAKING GOT IT!!!!!!!!!!!!!!!!!! finally i can rest

All i needed to do is make a ifcfg-wlan0 file in the etc/sysconfig/network-scripts/ folder. I used most of the settings from the ifcfg-eth0 file and just copied the MAC address into the right place instead. It worked PERFECTLY!!!!!

My mission is complete... I can die happy.
 
Old 01-24-2005, 12:30 AM   #6
neoAThome
Member
 
Registered: Jan 2005
Location: /Milkyway/Solar_Sys/Earth/usa/
Distribution: K-Ubuntu (64-bit) and FC4 which messed up kubuntu also
Posts: 31

Rep: Reputation: 15
same prob. with me....... i made the ifcfg-wlan0 file also........ but its not working !!

there is one difference however .....

my essid is set to 'off/any' and no matter how many times i tried ........ i cannot set it to any value !!
 
Old 01-24-2005, 12:50 AM   #7
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Hello neo,

Its only Fedora users that need to re-map the ndiswrapper interface to an eth1 interface due to the fact that FC installations dont recognise wlan0 interfaces. Just proceed as normal for your Mandrake installation.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to Wireless Network with ndiswrapper shimano55 Linux - Newbie 12 04-26-2006 08:32 PM
what wireless card do you have working without ndiswrapper? Savet Linux - Wireless Networking 7 06-15-2005 12:05 PM
ndiswrapper with rt2500 wireless card not working blendmaster Mandriva 13 04-01-2005 05:29 AM
ndiswrapper + wireless pci card = not working jsander Linux - Wireless Networking 3 01-22-2005 03:21 PM
NDISWrapper appears to be working, Wireless doesn't connect eno_on Linux - Wireless Networking 9 10-30-2004 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 01:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration