LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   ndiswrapper for wireless working but no network acces (https://www.linuxquestions.org/questions/linux-wireless-networking-41/ndiswrapper-for-wireless-working-but-no-network-acces-281029/)

ELconkestador 01-22-2005 07:49 PM

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:5B:DD:F3:3E
Bit Rate:54Mb/s Tx-Power:25 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
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

david_ross 01-23-2005 12:03 PM

Moved: This thread is more suitable in Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.

snecklifter 01-23-2005 01:51 PM

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

ELconkestador 01-23-2005 02:43 PM

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!

ELconkestador 01-23-2005 04:37 PM

I FREAKING GOT IT!!!!!!!!!!!!!!!!!! :D 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.

neoAThome 01-24-2005 12:30 AM

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 !!

snecklifter 01-24-2005 12:50 AM

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.


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