Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 09-23-2005, 07:55 PM   #1
Registered: May 2005
Distribution: Ubuntu 6.06
Posts: 129

Rep: Reputation: 15
CANNOT connect to internet w/ dhcp BECAUSE(?) don't know route info

I am trying to connect to internet thru a wireless accesspoint that uses no keys (open access). I do not have any info about this wireless access point but its ESSID. I am using Slackware 10.2 kernel 2.6.13 ndiswrapper drivers.

Here is my stupid question: how do you connect to internet when you do not know ANYTHING about the accesspoint except its ESSID? I mean, in windows, you just click ont the accesspoint and it connects... how do you do that in linux?

I could not use Kwifimanager. It doesn't do anything but show the access points' names.


following are the commands I use:

#ifconfig wlan0 up
#iwlist wlan0 scan
# iwconfig wlan0 essid "essid"
#dhcpcd wlan0

it connects to the accesspoint but browsers cannot connect to internet.


PS. I have a broadcom so I can't use kismet to find the addressing scheme, nameserver etc. (and I'm not sure whether that would help)
PS2. wifi-radar resulted in the same problem as well.

Last edited by towsonu2003; 09-24-2005 at 12:14 AM.
Old 09-24-2005, 01:29 PM   #2
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Those commands look correct - although making a script to do it for you could come in handy...

Have you tried setting your browser to automatically configure proxy settings? Sometimes (if the AP is using a proxy) that will allow it to work. In Firefox, that's in: "General->Connection Settings...->Auto-detect proxy settings blah blah". If that doesn't work, then try switching it back to the "Directly connected to internet" option.


Ps. Why have you got an unsecured wireless network?! *tut tuts* :P
Old 09-24-2005, 02:08 PM   #3
Registered: May 2005
Distribution: Ubuntu 6.06
Posts: 129

Original Poster
Rep: Reputation: 15
Changing the browser settings did not help. Here is some output (this is when I am connected, but the browser does not know):
cat /etc/resolv.conf
lo Link encap:Local Loopback
inet addr: Mask:
inet6 addr: ::1/128 Scope:Host
RX packets:460 errors:0 dropped:0 overruns:0 frame:0
TX packets:460 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:34916 (34.0 Kb) TX bytes:34916 (34.0 Kb)

wlan0 Link encap:Ethernet HWaddr 00:90:4B:4F:EC:67
inet addr: Bcast: Mask:
inet6 addr: fe80::290:4bff:fe4f:ec67/64 Scope:Link
RX packets:100 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:32878 (32.1 Kb) TX bytes:2646 (2.5 Kb)
lo no wireless extensions.

wlan0 IEEE 802.11g ESSID:"essid" Nickname:"MOVINGSYSTEM"
Mode:Managed Frequency:2.437 GHz Access Point: 00:11:95:0A:98:34
Bit Rate=36 Mb/s Tx-Power:25 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption keyff
Power Managementff
Link Quality:99/100 Signal level:-84 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:28 Invalid misc:6699 Missed beacon:0

eth0 no wireless extensions.

sit0 no wireless extensions.
please help, I am so close and I WANT to see this linux on the internet for once... desperately...
Old 10-01-2005, 01:56 AM   #4
Registered: May 2005
Distribution: Ubuntu 6.06
Posts: 129

Original Poster
Rep: Reputation: 15
any ideas?
Old 10-13-2005, 08:06 PM   #5
Registered: May 2005
Distribution: Ubuntu 6.06
Posts: 129

Original Poster
Rep: Reputation: 15
sudo iwconfig wlan0 up
dhclient wlan0

after setting the essid worked fine in Ubuntu 5.04-
Old 10-13-2005, 08:51 PM   #6
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
you look like you are connected. so do 'ping' thats your ap. if you can ping that, then try 'ping' if that works try 'ping' and if that fails, then its your resolv.conf. you need to find a dns to put in your resolv.conf. (even though the adress in there should work..)

Last edited by short101; 10-13-2005 at 08:53 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux can't connect to internet with DHCP through Linksys wired router ruslan40321 Linux - Networking 9 03-30-2008 03:08 PM
connect to internet without dhcp client snip128 Linux - Networking 2 07-06-2005 05:29 AM
DHCP and client cant connect to internet RahJiggah Linux - Networking 17 12-28-2004 01:13 AM
Can't connect to the Internet with DHCP 1kyle Linux - Networking 3 11-17-2004 04:09 AM
dhcp is ok but can't connect to internet zeroboys Linux - Networking 15 04-29-2004 04:12 AM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 04:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration