View previous topic :: View next topic |
Author |
Message |
womiluti n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Mar 2014 Posts: 8
|
Posted: Sat Mar 08, 2014 2:14 pm Post subject: Ad-hoc suddenly goes wrong and gives ip address as 169.254.* |
|
|
I have used my laptop as an hot spot in ad-hoc mode for nearly a month and it was all right.
Yesterday, when my ipad connect to it, it gives an ip address 169.254.* and as a result my ipad cannot surf the Internet.
How can I rescue it so that devices connected to the wireless can surf the internet again?
I'm raw in gentoo, so if any infomation is needed, please tell me |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54827 Location: 56N 3W
|
Posted: Sat Mar 08, 2014 3:17 pm Post subject: |
|
|
womiluti,
Welcome to Gentoo.
In ad-hoc mode 169.254.*, self assigned IP addresses are correct.
Ad-hoc mode is intended for a localised group of systems to communicate among themselves.
There is no dhcp server and no gateway to any other network.
Your laptop needs to run as an access point and probably provide NAT to your other devices.
You cannot use ad-hoc mode and have internet access from the ad-hoc network at the same time. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
womiluti n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Mar 2014 Posts: 8
|
Posted: Sun Mar 09, 2014 12:51 pm Post subject: |
|
|
NeddySeagoon wrote: | womiluti,
Welcome to Gentoo.
In ad-hoc mode 169.254.*, self assigned IP addresses are correct.
Ad-hoc mode is intended for a localised group of systems to communicate among themselves.
There is no dhcp server and no gateway to any other network.
Your laptop needs to run as an access point and probably provide NAT to your other devices.
You cannot use ad-hoc mode and have internet access from the ad-hoc network at the same time. |
Thanks!
But in the last month, I used kde's networkmangement.
When add a new wirelee and choose share, there are 3 mode -- two of them are ap and ad-hoc.
I choose ad-hoc and then mobile devices can have access to the internet through it.
That time, mobile devices can gain correct ip address, not 169.254.* ones. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54827 Location: 56N 3W
|
Posted: Sun Mar 09, 2014 2:32 pm Post subject: |
|
|
womiluti,
That way it was working was incorrect. It looks like its been fixed.
I don't use KDE, so I can't comment on its networkmangement.
Try the AP modes. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
womiluti n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Mar 2014 Posts: 8
|
Posted: Sun Mar 09, 2014 2:54 pm Post subject: |
|
|
NeddySeagoon wrote: | womiluti,
That way it was working was incorrect. It looks like its been fixed.
I don't use KDE, so I can't comment on its networkmangement.
Try the AP modes. |
Well, I'll try hostapd
thanks~ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|