LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Connected to wirless network - but no internet. (https://www.linuxquestions.org/questions/linux-wireless-networking-41/connected-to-wirless-network-but-no-internet-240049/)

rampid360 10-07-2004 09:46 PM

Connected to wirless network - but no internet.
 
After a bit of work, I am at the point where my wireless card is detecting the network (any network nearby -- so that much is working)

But, it is not actually online.

Also, i've noticed that nothing is connected as wlan - just eth1

Here is what I'm talking about:

linux:~ # ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:46:AA:BD:AA
inet addr:192.168.2.121 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:46ff:feaa:bdaa/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:752 errors:0 dropped:0 overruns:0 frame:0
TX packets:735 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:413871 (404.1 Kb) TX bytes:120508 (117.6 Kb)
Interrupt:11 Base address:0x2000

eth1 Link encap:Ethernet HWaddr 00:02:8A:94:7B:9F
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::202:8aff:fe94:7b9f/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:50 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:1 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13111 (12.8 Kb) TX bytes:2830 (2.7 Kb)
Interrupt:10 Base address:0x3000 Memory:d4006000-d4006fff

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2708 (2.6 Kb) TX bytes:2708 (2.6 Kb)



And this:

inux:~ # iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11-DS ESSID:"MSHOME" Nickname:"linux"
Mode:Ad-Hoc Frequency:2.437GHz Cell: 00:0D:3A:70:38:C7
Bit Rate:2Mb/s Tx-Power=15 dBm Sensitivity:1/3
Retry min limit:8 RTS thr:off Fragment thr=512 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:8 Rx invalid frag:0
Tx excessive retries:8 Invalid misc:0 Missed beacon:0

sit0 no wireless extensions.


So, again the problem is that i'm detecting / connecting to networks - but not the internet
Any help is appreciated.

-Alan

quatsch 10-07-2004 10:02 PM

the wireless device need not be named wlan. eth1 is fine (it can be named anything you please, actually).

Try doing
ifdown eth0
(this will deactivate your ethernet card). This might be enough to get your computer to connect through your wireless card. If not try

ifdown eth0
ifdown eth1
ifup eth1

rampid360 10-07-2004 10:47 PM

Hours of trouble solved in 3 lines.
Thank you :^D

-Alan


All times are GMT -5. The time now is 09:06 PM.