LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-07-2008, 01:26 AM   #1
Crunchandmunch47
LQ Newbie
 
Registered: Aug 2008
Posts: 2

Rep: Reputation: 0
Connected to the network, but no internet...


Hello,
I recently installed Slackware 12.1 on my notebook computer (my first time trying Linux). For the most part it works perfectly, but accessing my wireless internet connection has given me a great deal of trouble. I am using an Atheros 802.11abg wireless card, and have installed madwifi for it using Alien Bob's guide. My network is WPA protected and I have setup wpa_supplicant.conf and rc.inet1.conf. No problems. I am able to connect to my wireless network using KWifiManager and interface ath0, but I cannot access the internet.

One thing that I found suspicious is that, upon entering the command "route", there is no default destination in the routing table...I tried using the command "route add default gw 10.0.0.1" and recieved the error message
Code:
SIOCADDRT: No such process
Could this be relevant?

If you have any ideas, or need me to provide more information, please let me know. Thanks!
 
Old 08-07-2008, 03:36 AM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Please post as well the outputs of "ifconfig" and "iwconfig".
 
Old 08-07-2008, 04:58 AM   #3
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Did you try "dhclient ath0" after wpa_supplicant reports successful connection?
 
Old 08-07-2008, 12:56 PM   #4
Crunchandmunch47
LQ Newbie
 
Registered: Aug 2008
Posts: 2

Original Poster
Rep: Reputation: 0
here is ifconfig:

Code:
ath0      Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
          inet6 addr: fe80::219::7eff::fe4c:ebca/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 METRIC:1
          RX packets:22 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:826 (826.0 B)  TX bytes:1096 (1.0 KiB)

eth0      Link encap:Ethernet HWaddr yy:yy:yy:yy:yy:yy
          inet addr: 192.168.1.7 Bcast:192.168.1.255 Mask:255.255.255.0
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

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:124 errors:0 dropped:0 overruns:0 frame:0
          TX packets:124 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:10704 (10.4 KiB)  TX bytes:10704 (10.4 KiB)

wifi0     Link encap:UNSPEC  HWaddr 00-xx-xx-xx-xx-xx-xx-xx-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3684 errors:0 dropped:0 overruns:0 frame:55
          TX packets:130 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:280
          RX bytes:314121 (306.7 KiB)  TX bytes:6350 (6.2 KiB)
          Interrupt:22
...and here is iwconfig:
Code:
lo    no wireless extensions.

eth0  no wireless extensions.

wifi0 no wireless extensions.

ath0  IEEE 802.11g  ESSID:"Don"  Nickname:""
      Mode:Managed  Frequency:2.412 GHz  Access Point: xx:xx:xx:xx:xx:xx
      Bit Rate:48 Mb/s  Tx-Power:17 dBm  Sensitivity=1/1
      Retry:off  RTS thr:off  Framgent thr:off
      Encryption key:off
      Power Management:off
      Link Quality=20/70  Signal level=-75 dBm  Noise level=-95 dBm
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:0  Invalid misc:0  Missed beacon:0

irda0 no wireless extensions.
As for "dhclient ath0", I had not tried that...here is the result I got

Code:
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/xx:xx:xx:xx:xx:xx
Sending on   LPF/ath0/xx:xx:xx:xx:xx:xx
Sending on   Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Unfortunately, for the most part I don't know what this means...
 
Old 08-08-2008, 03:05 AM   #5
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Well, I have no clue about the dhcp-stuff, but I know that you cannot...

route add default gw 10.0.0.1

...if your network is set for a 192.*...

eth0 Link encap:Ethernet HWaddr yy:yy:yy:yy:yy:yy
inet addr: 192.168.1.7 Bcast:192.168.1.255 Mask:255.255.255.0

...address. That would mean that your PC does not belong to your internal network, or something like this?
And about the wireless card, isn't it possible that you messed around with the configuration?
Try to have a look at this and this.
 
Old 08-08-2008, 03:54 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Are you sure you have a running DHCP server in wireless network? Getting this doubt as there are no lease offers. This means that no server is listening to your wireless card for dhcp lease requests. This could mean that either you do not have dchp server in your network entirely or it is not at least in wireless network.
You can give it a try by configuring the IP address manually for the wireless card.
 
  


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
Connected to network with wpa_supplicant but no actual internet AceofSpades19 Linux - Wireless Networking 2 08-23-2007 08:33 PM
Connected to GPRS network and got an IP, but still no internet d2army Linux - Networking 0 02-15-2006 06:31 PM
connected to wifi network but no internet connection? mr.gizm0 Linux - Wireless Networking 3 03-21-2005 03:07 AM
On network but not connected to internet. tongueless Linux - Networking 3 01-25-2005 03:27 PM
Connected to wirless network - but no internet. rampid360 Linux - Wireless Networking 2 10-07-2004 10:47 PM

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

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