Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
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 m very new at all this but i have my D-link card up and recognized as ath0, haven t figured out dhcp yet but i can assign an ip + subnet mask manually but i m still getting a 0.0.0.0 for the gateway.
i can reach my wireless router , but not the internet.
how could i add a gateway of 192.168.2.1 to my ath0 wireless device?
It s weird it s like when i do that route add command it gives the default gateway to a 2nd instance of my wireless card>?!?!? result is the same i can ping and access my router but no internet.
here s how i brought the card "up"
root@darkstar:~# ifconfig ath0 192.168.2.99 netmask 255.255.255.0
root@darkstar:~# route add default gw 192.168.2.1 ath0
root@darkstar:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 ath0
Originally posted by robotik It s weird it s like when i do that route add command it gives the default gateway to a 2nd instance of my wireless card>?!?!? result is the same i can ping and access my router but no internet.
here s how i brought the card "up"
root@darkstar:~# ifconfig ath0 192.168.2.99 netmask 255.255.255.0
root@darkstar:~# route add default gw 192.168.2.1 ath0
root@darkstar:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 ath0
hey !!!
what about my suggestions
did u try that out
and what OS are u using??
Originally posted by robotik It s weird it s like when i do that route add command it gives the default gateway to a 2nd instance of my wireless card>?!?!? result is the same i can ping and access my router but no internet.
here s how i brought the card "up"
root@darkstar:~# ifconfig ath0 192.168.2.99 netmask 255.255.255.0
root@darkstar:~# route add default gw 192.168.2.1 ath0
root@darkstar:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 ath0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 ath0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.