LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Wifi Connects, But No Internet (https://www.linuxquestions.org/questions/linux-wireless-networking-41/wifi-connects-but-no-internet-392470/)

lokirulez 12-13-2005 03:40 PM

Wifi Connects, But No Internet
 
I recently gave up trying to configure my Intel Pro 2200bg wireless card on Debian 3.1. In my opinion I did everything right, but the thing just would not connect. I got my hands on SuSE 9.3 and installed that, SuSE detected my card and I configured it. I am trying to connect to an encrypted network, I set my KInternet connecton up. I enter the WPA key and I got a "Succesfully Connected" message. But when I open up FireFox I cannot bring up any websites. I know the network is up, and I know the key works. I am running Win XP (dual boot) and I can connect, as soon as I open up my browser I am prompted for my user name and password...once entered, everything is good. I know very little about wireless networks, and I am new to Linux, any suggestions would help. Here is some of the output my terminal gives me:

iwconfig

eth1 IEEE 802.11g ESSID:"nttmil" Nickname:"linux"
Mode:Managed Frequency:2.462 GHz Access Point: 00:0D:97:05:00:0B
Bit Rate=54 Mb/s Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Encryption key:776D-326B-6238-736D-6B6F-0000-00 Security mode:open
Power Management:off
Link Quality=21/100 Signal level=-75 dBm Noise level=-86 dBm
Rx invalid nwid:0 Rx invalid crypt:590 Rx invalid frag:0
Tx excessive retries:2 Invalid misc:4 Missed beacon:62


dhcpcd eth1
/sbin/modify_resolvconf: line 245: /etc/init.d/lwresd: No such file or directory


tcpdump -i eth1 -n
tcpdump: bind: Network is down

/sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
loopback * 255.0.0.0 U 0 0 0 lo

jschiwal 12-13-2005 04:01 PM

I don't think that you have a default gateway setup. Also, since you have posted your wireless key, you had better change it!

You can use YaST to enter the default gateway IP.

Rereading your message, I don't see an IP address for the wireless interface. If you don't use DHCP, the the IP address, gateway IP, mask and DNS addresses need to be set up manually.

wearetheborg 12-13-2005 04:48 PM

Maybe its nothing, but that key loops like a WEP key

lokirulez 12-13-2005 08:21 PM

That is actually not the key I entered, they key I entered is only 10 characters, I enter it using KInternet, then when I enter iwconfig it shows that long key. I don't understand what you mean by setting up the gateway and IP manually. How do I know what IP address to put there?

jschiwal 12-14-2005 07:53 PM

First of all, are you using DHCP or a static address setup? Look in YaST.
YaST -> System -> Network Devices -> Network Card.

Now near the bottom of the page, your wireless card should be listed in the "Already Configured Devices" table.
If so, click on the "Change" button to the lower right of the table.

Now highlight your card and press the "edit" button.

Now you can select either DHCP or Static Address Setup. It depends on your personal choice, and whether your access point (Router or Desktop PC) provides a DHCP service. If you opted for static, then you need to enter an IP address and network mask manually on this page. The values depend on your network.

The "detailed settings" area is where you enter the other information. The first button is where you enter your hostname, and the Name server IP addresses (DNS). The DNS addresses are supplied by your ISP.

Under the "routing" button is were you enter your default gateway IP address. This is the IP address of the device that provides access to the internet. For example, it may be the IP address of a wireless Cable/DSL router. Or it might be the IP address of a desktop computer that is connected to the internet. Often, this router/computer will also provide NAT masquerading, which allows you to share a single internet IP address for several computers.

If you have a wireless router that supplies a DHCP service and performs NAT masquerading, and you have DHCP selected, then you may have a problem connecting to the access point. If you can't authenticate, then you can't connect to the DHCP service which supplies the IP information that you are missing.

lokirulez 12-14-2005 11:28 PM

I did it! I think I was using the wrong encryption for my key. I was using WEP vice WPA. I'm not really sure, all I know is that when I did not enter a value for the WEP key box, I was able to connect. Thanks!


All times are GMT -5. The time now is 08:38 PM.