Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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...
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.