Hi there!
I have a mac now, and I got a Hawking USB Wlan stick, and I OS X has some problems with it. It works perfectly at school, and on unencrypted networks, but it works with my router at home only sometimes, and even DHCP, DHCP with Manual Address and Manual mode failed. All my other computers connect fine with the WLan stick. Can anyone help?
16 Replies - 6495 Views - Last Post: 21 October 2009 - 08:36 PM
Replies To: Wlan getting wrong Subnet Mask and IP
#2
Re: Wlan getting wrong Subnet Mask and IP
Posted 20 October 2009 - 06:23 PM
By any chance is the ip you are getting 169.254.x.x & on subnet 255.255.0.0 ?
& let me see if I understand this correctly...the mac isn't working right, but the other PC's are? zomg!
& let me see if I understand this correctly...the mac isn't working right, but the other PC's are? zomg!
#3
Re: Wlan getting wrong Subnet Mask and IP
Posted 20 October 2009 - 06:28 PM
Yes. Exactly that. In System Prefs, it says it might not be able to connect, which is 100% right.
#4
Re: Wlan getting wrong Subnet Mask and IP
Posted 20 October 2009 - 06:31 PM
169.254.x.x is the standard "DHCP didn't respond, so the ip address was self assigned". It indicates network failure.
#5
Re: Wlan getting wrong Subnet Mask and IP
Posted 20 October 2009 - 06:35 PM
OK. WHat can I do to fix this?
#6
Re: Wlan getting wrong Subnet Mask and IP
Posted 20 October 2009 - 06:38 PM
I had a customer a few months back on Mac that was getting this, even though his network had not changed.
I opened a command prompt, issued the following, & he was up & running right away. Assuming that your device is en0 :
If the above doesn't work, try sudo dhclient
For the life of me, I can't remember the command 100%, & I don't have a Mac in front of me, to test which syntax that they use. You should be able to use tab complete to allow it to work for you.
You can check this site as a reference for ifconfig commands.
Without knowing what the problem is, it's a little more difficult to guess a solution.
Are you trying to do this over wireless, or a direct connection to a networking device?
I opened a command prompt, issued the following, & he was up & running right away. Assuming that your device is en0 :
sudo ifconfig en0 down sudo dhcpcd
If the above doesn't work, try sudo dhclient
For the life of me, I can't remember the command 100%, & I don't have a Mac in front of me, to test which syntax that they use. You should be able to use tab complete to allow it to work for you.
You can check this site as a reference for ifconfig commands.
ts230, on 20 Oct, 2009 - 07:35 PM, said:
OK. WHat can I do to fix this?
Without knowing what the problem is, it's a little more difficult to guess a solution.
Are you trying to do this over wireless, or a direct connection to a networking device?
#7
Re: Wlan getting wrong Subnet Mask and IP
Posted 20 October 2009 - 06:45 PM
I will try now. I'll report with any issues. Do I have to reboot after?
#8
Re: Wlan getting wrong Subnet Mask and IP
Posted 20 October 2009 - 06:47 PM
No, a reboot is not necessary. You're just requesting that the dhcp server assign your device a new ip address.
Rebooting is a Windows troubleshooting tool of "I'm not sure what went wrong, so lets let the OS try again". You'll find with Linux/Unix that the system will come back up in just about the same state that it went down. Rebooting fixes very little for *nix systems.
Rebooting is a Windows troubleshooting tool of "I'm not sure what went wrong, so lets let the OS try again". You'll find with Linux/Unix that the system will come back up in just about the same state that it went down. Rebooting fixes very little for *nix systems.
#9
Re: Wlan getting wrong Subnet Mask and IP
Posted 20 October 2009 - 06:53 PM
Nope. Still the IP issue. I'm trying with wireless. And the dhcpcd and dhclient are not there.
Any ideas?
Any ideas?
This post has been edited by ts230: 20 October 2009 - 07:07 PM
#10
Re: Wlan getting wrong Subnet Mask and IP
Posted 20 October 2009 - 07:35 PM
@no2pencil:
Your
Didn't work. The 1st command worked. Then I went into System Prefs, Network, selected my device and clicked Advanced..., and then I hit "Renew DHCP Lease".
That didn't do the thing though.
Your
sudo ifconfig en1 down sudo dhcpcd
Didn't work. The 1st command worked. Then I went into System Prefs, Network, selected my device and clicked Advanced..., and then I hit "Renew DHCP Lease".
That didn't do the thing though.
#11
Re: Wlan getting wrong Subnet Mask and IP
Posted 20 October 2009 - 07:38 PM
Have you tried power cycling your wireless device (router/switch)?
Do you see your wireless device as an option to connect to?
Do you see your wireless device as an option to connect to?
#12
Re: Wlan getting wrong Subnet Mask and IP
Posted 20 October 2009 - 07:42 PM
Yes and Yes. I see my WLan Stick in SYstem Prefs as a second Ethernet Port, and I connect using the utility that it came with. And I see my WLan router on there, and it might be the encryption or something, I don't know.
Is there any way I can fix this?
Is there any way I can fix this?
This post has been edited by ts230: 21 October 2009 - 08:07 AM
#13
Re: Wlan getting wrong Subnet Mask and IP
Posted 21 October 2009 - 06:29 PM
I looked in my router's settings, and I couldn't find anything that might be causing this. What should I do now?
#14
Re: Wlan getting wrong Subnet Mask and IP
Posted 21 October 2009 - 06:39 PM
You could restore your wireless routers settings to default, & resetup any encryption that you had on it.
Above that, I don't know.
Above that, I don't know.
#15
Re: Wlan getting wrong Subnet Mask and IP
Posted 21 October 2009 - 07:17 PM
OK. I might try that. Can I just reset the DHCP settings?

New Topic/Question


MultiQuote


|