LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   problem connecting to wifi (https://www.linuxquestions.org/questions/slackware-14/problem-connecting-to-wifi-673499/)

neu2linux 10-01-2008 06:02 AM

problem connecting to wifi
 
I have just finished installing 12.1 and madwifi. I am having a bit of a problem connecting to my home network via ath0. The connection uses a 128 bit WEP key. I have no problem connecting to my work network which uses 64 WEP. This is my first run with Slackware and have no idea where to go from here.


here is my iwconfig output:


no wireless extensions.

eth0 no wireless extensions.

wifi0 no wireless extensions.

ath0 IEEE 802.11g ESSID:"GETYOUROWN" Nickname:""
Mode:Managed Frequency:2.437 GHz Access Point: 00:0F:66:63:2C:FE
Bit Rate:36 Mb/s Tx-Power:16 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Encryption key:****-****-****-****-****-****-** Security mode:restricted
Power Management:off
Link Quality=66/70 Signal level=-30 dBm Noise level=-96 dBm
Rx invalid nwid:65777 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Any input would be appreciated.
Thanks
-Eric

Bruce Hill 10-01-2008 08:33 AM

Configuring your network in Slackware should answer your questions.

If that doesn't help you solve it, post back what you did ...

neu2linux 10-09-2008 01:08 PM

I followed the how-to, but it still refuses to go to the internet.

I found out that it is connecting to the router. When I type in the routers IP, it asks for the username and password used for changing the settings. It just wont allow me to access the internet. I have tried pinging various sites with no luck. Could there be security restrictions in Slackware that are causing this? This laptop dual-boots with Vista which connects fine.

bassmadrigal 10-09-2008 01:49 PM

Have a look here...

https://www.linuxquestions.org/quest...-slack-674997/

Bruce Hill 10-09-2008 05:54 PM

Quote:

Originally Posted by neu2linux (Post 3305413)
I followed the how-to, but it still refuses to go to the internet.

I found out that it is connecting to the router. When I type in the routers IP, it asks for the username and password used for changing the settings. It just wont allow me to access the internet. I have tried pinging various sites with no luck. Could there be security restrictions in Slackware that are causing this? This laptop dual-boots with Vista which connects fine.

Please give the output of "cat /etc/resolv.conf"

johnson_steve 10-09-2008 06:06 PM

Quote:

Originally Posted by Bruce Hill (Post 3305579)
Please give the output of "cat /etc/resolv.conf"

this is probably the problem are you using dhcp or manual ip addresses? can you for instance: ping google form another computer, write down the ip address and then ping that from your laptop? like:
Code:

ping 72.14.205.104

neu2linux 10-10-2008 06:04 PM

Output from cat /etc/resolv.conf returns

Code:

search darco.local
nameserver 192.168.2.100

darco.local is the Win network that I connect to at work.

And I am using DHCP.

bassmadrigal 10-10-2008 06:17 PM

Is the IP address of your router 192.168.2.100?? Because they typically will end in a *.*.*.1

If it does end in that try adding a route

Code:

route add default gw 192.168.2.100

Bruce Hill 10-10-2008 07:47 PM

Please add the following lines to the top of your /etc/resolv.conf:
Code:

nameserver 4.2.2.1
nameserver 4.2.2.2
nameserver 4.2.2.3
nameserver 4.2.2.4

and try again. Those Verizon servers have worked for me for more
than a decade.

neu2linux 10-11-2008 01:35 AM

Quote:

Originally Posted by Bruce Hill (Post 3306535)
Please add the following lines to the top of your /etc/resolv.conf:
Code:

nameserver 4.2.2.1
nameserver 4.2.2.2
nameserver 4.2.2.3
nameserver 4.2.2.4

and try again. Those Verizon servers have worked for me for more
than a decade.

that did it. thank you, though I don't quite understand it. none the less it is working great.

Bruce Hill 10-11-2008 05:41 AM

That tells us the previous nameserver(s) you used are not working.

Read "man resolv.conf" to get more of an idea what it's doing. My
guess would be that darco.local is not running a name server.


All times are GMT -5. The time now is 05:34 PM.