LinuxQuestions.org
Visit Jeremy's Blog.
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 03-31-2004, 02:39 PM   #1
sichen
Member
 
Registered: Mar 2004
Posts: 31

Rep: Reputation: 15
wlan0 has ip address but no network access


I am getting mandrake 10.0 to run on my dell inspiron 600m, and I've gotten the driver for the intel wireless working and can get an IP address from it. Even though the IP address is valid, though, I still cannot get into my network or use the internet. I checked the obvious: my WEP key is entered correctly. Why is that?

Some clues:
when I do "ifup wlan0" I get a SIOCADDRT: File exists, followed by "done" Subsequent attempts to do "ifup wlan0" does not get the "SIOCADDRT: File exists" message.
when I do "service network start" everything comes up fine.

Here is my /etc/sysconfig/network-scripts/ifcfg-wlan0 file:
DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes
TYPE=wireless
ESSID=linksys
KEY=AAAAAAAAAAAAAAAAAAAAAAAAAA
CHANNEL=6
GATEWAY=192.168.1.1

Here is what I get with "iwconfig" at the command line:
wlan0 IEEE 802.11b ESSID:"linksys" Nickname:"localhost"
Mode:Managed Frequency:2.437GHz Access Point: 00:0C:41:70:FE:EC
Bit Rate=11Mb/s
RTS thr=1600 B Fragment thr=2344 B
Encryption key:AAAA-AAAA-AAAA-AAAA-AAAA-AAAA-AA Security mode:restricted
Power Managementff
Link Quality:0/100 Signal level:-30 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Here is what I get with "ifconfig" at the command line:
eth0 Link encap:Ethernet HWaddr 00:0D:56D:90:73
inet6 addr: fe80::20d:56ff:fedd:9073/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:3934 (3.8 Kb)
Interrupt:11

eth0:9 Link encap:Ethernet HWaddr 00:0D:56D:90:73
inet addr:127.255.255.255 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:11

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:86 errors:0 dropped:0 overruns:0 frame:0
TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6506 (6.3 Kb) TX bytes:6506 (6.3 Kb)

wlan0 Link encap:Ethernet HWaddr 00:0C:F1:07:FD:6E
inet addr:192.168.1.107 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20c:f1ff:fe07:fd6e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6584 (6.4 Kb) TX bytes:2430 (2.3 Kb)
Interrupt:11 Memory:fafef000-fafeffff


Here is what happened after I plugged in an ethernet cable, and the regular eth0 works:
eth0 Link encap:Ethernet HWaddr 00:0D:56D:90:73
inet addr:192.168.1.105 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20d:56ff:fedd:9073/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:89 errors:0 dropped:0 overruns:0 frame:0
TX packets:116 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15400 (15.0 Kb) TX bytes:18074 (17.6 Kb)
Interrupt:11

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:88 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6606 (6.4 Kb) TX bytes:6606 (6.4 Kb)

wlan0 Link encap:Ethernet HWaddr 00:0C:F1:07:FD:6E
inet addr:192.168.1.107 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20c:f1ff:fe07:fd6e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:100 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12013 (11.7 Kb) TX bytes:3240 (3.1 Kb)
Interrupt:11 Memory:fafef000-fafeffff

Can anyone help? Thanks in advance! Si Chen
 
Old 04-01-2004, 12:02 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Moved to Wireless
 
  


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
FC4 I get IP address (on any network) but I can't access to outside the network bodhisattva Fedora 10 02-07-2006 06:58 AM
wlan0 not listed. Can't access the internet doobers Linux - Wireless Networking 8 10-29-2004 06:24 AM
wlan0 not listed. Can't access the internet doobers Linux - Hardware 0 10-26-2004 06:03 PM
wireless wlan0 has ip but no internet access on suse 9.1 sichen Linux - Wireless Networking 4 08-05-2004 07:28 PM
question about network address and broadcast address yuzuohong Linux - Networking 1 09-18-2002 11:47 AM

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

All times are GMT -5. The time now is 08:31 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