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.
I just configured my wireless internet card and got it to connect successfully with encryption.. but I'm having a hard time getting an ip address assigned to it from my router.. heres what I've tried so far
root@1[ryan450]# ifconfig ath0 192.168.0.26 netmask 255.255.255.0 up
root@1[ryan450]# ifconfig
ath0 Link encap:Ethernet
HWaddr 00:0F:3D:04:02:EF
the iwconfig is up there for the sake of it being up there... the card is configured properly I believe but if anyone sees a fluke please let me know. not sure whats going wrong with this, but when I try to connect to my router it says connection refused, and when i try any other site, not found..
Originally posted by jedediah I've got a few thoughts:
Since you're not using dhcp, can you verify that the correct DNS entries are in the file /etc/resolv.conf? (try `cat /etc/resolv.conf`)
Also, does the router filter MAC addresses? I know mine does, so you'd have to authorize your specific card with your network.
Hope this helps.
Alrighty.. turns out I was wrong :P.. I disabled the encryption on my router and tried to connect without encryption via my wireless card through linux.. and amazingly it did connect and worked beautifully (with DHCP)
so then, that can only mean one thing.. my encryption setting on linux was wrong.. I'm using a 64-bit WEP encryption, which is a 5 digit number that I put into my router.. now lets say that the number i specified to act as my key was 12345.. (note, I'm not using HEX numbers, my router lets me switch it over to ASCII)
in windows I just set the encryption key to that exact number 12345 and it works flawlessly.. how do you set it in linux?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.