LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 06-22-2010, 09:43 AM   #1
Loppyfoot
LQ Newbie
 
Registered: Jun 2010
Posts: 13

Rep: Reputation: 0
DHCP has timed out - Cannot wirelessly connect to internet


Hi folks, I need you help. Here is my deal:

I just bought a new router, and it works for two of my computers which are directly connected. I have another laptop running XP which can also connect to the network, wirelessly. I am having trouble connecting to the internet with a laptop of mine, which is running OpenSolaris. My old router was broken, but when it was working, I could wirelessly connect to the internet on this laptop running OpenSolaris.

For a few seconds, up to a minute, the connection icon tells me that I am connected to a wireless network. "Wireless (iwh0) network interface is active. Connected to wireless network MyWirelessNetwork." Then after a few seconds to a minute, it tells me "Wireless (iwh0) disconnected from network."

I cannot connect to the internet, even when both icons tell me that I am connected to the internet. I just get a Page Load Error. A dialog box then pops up to tell me that my network is disconnected. It then pops up another dialog box telling me, "Reason: DHCP timed out." When I directly connect this laptop to the router, it works fine. It tells me that I am connected to the e1000g0 network. When my old router was working, I think it would just switch to the correct network interface automatically.

Do I need to reset the system using sys-unconfig? I have tried some solutions that the web has offered, but I may have not done them correctly because they were to no avail. Any help or support would be greatly appreciated.

Thanks guys.
 
Old 06-22-2010, 10:31 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
What say:
Code:
dladm scan-wifi
dladm show-wifi
 
Old 06-22-2010, 03:01 PM   #3
Loppyfoot
LQ Newbie
 
Registered: Jun 2010
Posts: 13

Original Poster
Rep: Reputation: 0
dladm scan-wifi:
LINK ESSID BSSID/IBSSID SEC STRENGTH MODE SPEED
iwh0 XPSOwner-PC-Wireless c0:3f:e:5e:8f:ee wpa excellent g 54Mb

dladm show-wifi:
LINK STATUS ESSID SEC STRENGTH MODE SPEED
iwh0 disconnected -- -- -- -- --

It seems to go in and out of connectivity. But when it says it is connected, I still cannot access the internet.
 
Old 06-22-2010, 03:18 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Were you prompted for WPA credentials ?
You might want to temporarily turn off security to make sure authentication isn't the issue.
Otherwise, snooping the traffic on iwh0 might give some clues.
 
Old 06-22-2010, 03:32 PM   #5
Loppyfoot
LQ Newbie
 
Registered: Jun 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Yes, occasionally it asks me to enter the wpa key; which I know. I enter it, and it usually says that it is connected, but still no access to the internet.

How do I snoop the traffic on the iwho?

Thanks
 
Old 06-22-2010, 04:17 PM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by Loppyfoot View Post
Yes, occasionally it asks me to enter the wpa key; which I know. I enter it, and it usually says that it is connected, but still no access to the internet.
When it says you are connected, that probably only mean you are connected to the wifi access point but not to the internet (yet). To be connected to the Internet, the DHCP dialog must succeed which might be the issue you have.
Quote:
How do I snoop the traffic on the iwho?
That's iwh0, not iwho. As root:
Code:
snoop -V -d iwh0
 
Old 06-22-2010, 04:35 PM   #7
Loppyfoot
LQ Newbie
 
Registered: Jun 2010
Posts: 13

Original Poster
Rep: Reputation: 0
When I plugged in
Quote:
snoop -V -d iwh0
I got:
Quote:
Using device iwh0 (promiscuous mode)
and then I got nothing after that.

If I go to manually configure the network, I see in the connections tab that it says:
Wireless Connection
The interface iwh0 is active.

Under the General tab:
Hostname: mylaptop
Domain nameThis is empty)

Under the DNS tab:
192.168.1.1 under DNS servers

And under Hosts:
IP Address
127.0.0.1
::1

Does that information give you anything else?

Thanks.
 
Old 06-23-2010, 01:49 AM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
There is no traffic between your access point and your laptop according to snoop (lack of) output. Did you let it run ?
 
Old 06-23-2010, 07:37 AM   #9
Loppyfoot
LQ Newbie
 
Registered: Jun 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Ok, so I let it run. It returned a lot of information that I don't really know how to tackle. What should I be looking for?
 
Old 06-23-2010, 06:46 PM   #10
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Something like this:
Code:
OLD-BROADCAST -> BROADCAST    ETHER Type=0800 (IP), size=342 bytes
OLD-BROADCAST -> BROADCAST    IP  D=255.255.255.255 S=0.0.0.0 LEN=328, ID=66, TOS=0x0, TTL=255
OLD-BROADCAST -> BROADCAST    UDP D=67 S=68 LEN=308
OLD-BROADCAST -> BROADCAST    DHCP/BOOTP DHCPDISCOVER
________________________________
      netgear -> BROADCAST    ETHER Type=0800 (IP), size=590 bytes
      netgear -> BROADCAST    IP  D=255.255.255.255 S=192.168.2.1 LEN=576, ID=0, TOS=0x0, TTL=64
      netgear -> BROADCAST    UDP D=68 S=67 LEN=556
      netgear -> BROADCAST    DHCP/BOOTP DHCPOFFER
________________________________
OLD-BROADCAST -> BROADCAST    ETHER Type=0800 (IP), size=342 bytes
OLD-BROADCAST -> BROADCAST    IP  D=255.255.255.255 S=0.0.0.0 LEN=328, ID=67, TOS=0x0, TTL=255
OLD-BROADCAST -> BROADCAST    UDP D=67 S=68 LEN=308
OLD-BROADCAST -> BROADCAST    DHCP/BOOTP DHCPREQUEST
________________________________
      netgear -> BROADCAST    ETHER Type=0800 (IP), size=590 bytes
      netgear -> BROADCAST    IP  D=255.255.255.255 S=192.168.2.1 LEN=576, ID=0, TOS=0x0, TTL=64
      netgear -> BROADCAST    UDP D=68 S=67 LEN=556
      netgear -> BROADCAST    DHCP/BOOTP DHCPACK
 
Old 06-23-2010, 07:58 PM   #11
Loppyfoot
LQ Newbie
 
Registered: Jun 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
________________________________
? -> * ETHER Type=888E (Unknown), size=113 bytes
________________________________
? -> * ETHER Type=888E (Unknown), size=113 bytes
________________________________
? -> * ETHER Type=888E (Unknown), size=137 bytes
________________________________
? -> * ETHER Type=888E (Unknown), size=143 bytes
________________________________
? -> * ETHER Type=888E (Unknown), size=113 bytes
________________________________
fe80::222:faff:fed0:ca72 -> ff02::fb ETHER Type=86DD (IPv6), size=251 bytes
fe80::222:faff:fed0:ca72 -> ff02::fb IPv6 S=fe80::222:faff:fed0:ca72 D=ff02::fb LEN=197 HOPS=255 CLASS=0x0 FLOW=0x0
fe80::222:faff:fed0:ca72 -> ff02::fb UDP D=5353 S=5353 LEN=197
fe80::222:faff:fed0:ca72 -> ff02::fb MDNS R nickslaptop.local. Internet Addr 0.0.0.0
________________________________
fe80::222:faff:fed0:ca72 -> ff02::fb ETHER Type=86DD (IPv6), size=251 bytes
fe80::222:faff:fed0:ca72 -> ff02::fb IPv6 S=fe80::222:faff:fed0:ca72 D=ff02::fb LEN=197 HOPS=255 CLASS=0x0 FLOW=0x0
fe80::222:faff:fed0:ca72 -> ff02::fb UDP D=5353 S=5353 LEN=197
fe80::222:faff:fed0:ca72 -> ff02::fb MDNS R nickslaptop.local. Internet Addr 0.0.0.0
________________________________
fe80::222:faff:fed0:ca72 -> ff02::fb ETHER Type=86DD (IPv6), size=251 bytes
fe80::222:faff:fed0:ca72 -> ff02::fb IPv6 S=fe80::222:faff:fed0:ca72 D=ff02::fb LEN=197 HOPS=255 CLASS=0x0 FLOW=0x0
fe80::222:faff:fed0:ca72 -> ff02::fb UDP D=5353 S=5353 LEN=197
fe80::222:faff:fed0:ca72 -> ff02::fb MDNS R nickslaptop.local. Internet Addr 0.0.0.0
________________________________
fe80::222:faff:fed0:ca72 -> ff02::fb ETHER Type=86DD (IPv6), size=251 bytes
fe80::222:faff:fed0:ca72 -> ff02::fb IPv6 S=fe80::222:faff:fed0:ca72 D=ff02::fb LEN=197 HOPS=255 CLASS=0x0 FLOW=0x0
fe80::222:faff:fed0:ca72 -> ff02::fb UDP D=5353 S=5353 LEN=197
fe80::222:faff:fed0:ca72 -> ff02::fb MDNS R nickslaptop.local. Internet Addr 0.0.0.0
________________________________
fe80::222:faff:fed0:ca72 -> ff02::16 ETHER Type=86DD (IPv6), size=90 bytes
fe80::222:faff:fed0:ca72 -> ff02::16 IPv6 S=fe80::222:faff:fed0:ca72 D=ff02::16 LEN=36 HOPS=1 CLASS=0x0 FLOW=0x0
fe80::222:faff:fed0:ca72 -> ff02::16 ICMPv6 Group membership report - MLDv2
________________________________


Thats a chunk of what I snooped out.
 
Old 06-23-2010, 10:24 PM   #12
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
These are unrelated IPv6 packets. Try filtering out all of these by using this command:

Code:
snoop -V -d iwh0 dhcp
 
Old 06-24-2010, 07:42 AM   #13
Loppyfoot
LQ Newbie
 
Registered: Jun 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Ok, here is the output I got:
Code:
OLD-BROADCAST -> BROADCAST    ETHER Type=0800 (IP), size=342 bytes
OLD-BROADCAST -> BROADCAST IP  D=255.255.255.255 S=0.0.0.0 LEN=328 ID=5000, TOS=0x0, TTL=255
OLD-BROADCAST -> BROADCAST UDP D=67 S=68 LEN=308
OLD-BROADCAST -> BROADCAST DHCP/BOOTP DHCPDISCOVER
 
Old 06-24-2010, 11:42 AM   #14
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Your DHCP server doesn't reply to the request for some reason. It might be a good time to reboot both the router and the OpenSolaris box.

You might also have a look at the system messages regarding iwh:
Code:
dmesg | grep iwh0
 
Old 06-24-2010, 12:01 PM   #15
Loppyfoot
LQ Newbie
 
Registered: Jun 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Here is my output from:
Code:
dmesg | grep iwh0
:
Code:
Jun 23 20:39:30 nickslaptop mac: [ID 486395 kern.info] NOTICE: iwh0 link down
Jun 23 20:39:35 nickslaptop mac: [ID 744254 kern.info] NOTICE: iwh0 link up
Jun 23 20:39:35 nickslaptop in.routed[1250]: [ID 749644 daemon.notice] iwh0 has a bad address 0.0.0.0
Should I run a sysunconfig? I really don't have anything important on this laptop, so it wouldn't be a terrible maneuver. It may help, since I could connect with my old router before it croaked. I haven't run any refresh since I have installed the new router.

Thanks a ton for your help. It is really appreciated.
 
  


Reply



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
Cannot connect to the internet wired or wirelessly on eeepc jassi_104 Linux - Networking 4 01-07-2010 12:33 PM
No longer able to connect to internet wirelessly miclav Linux - Newbie 4 09-29-2009 01:46 PM
I can't connect to internet wirelessly fengheyi Linux - Newbie 5 09-11-2008 10:54 PM
Unable to connect to the internet wirelessly karthickannamalai Linux - Newbie 2 07-02-2008 06:24 PM
Can't connect to the Internet with DHCP 1kyle Linux - Networking 3 11-17-2004 03:09 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

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

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