Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Share internet connections with Ad-hoc mode

  Date: Dec 25    Category: Unix / Linux / Ubuntu    Views: 361
  

I have two notebook and i want to share internet connection from old notebook to
new notebook.
Old notebook is running on x_p because of my friend ( he dont know linux :( )
and new notebook is running on linux.

I configured OLD notebook like below:

LAN (that is connect WAN) : IP: 192.168.1.3 GW:192.168.1.254 DNS:192.168.1.254
and share internet connection.I clicked "share internet connection other
interface" in network setting.

Wifi : IP:192.168.0.1 GW: dont use , DNS: dont use , Authentication: WEP-128bit
HEX , Mode: Ad-hoc

and configured NEW notebook like below:

wlan0 : IP,GW and DNS ips are taken by dhcpclient like IP : 192.168.0.x , GW:
192.168.0.1 , DNS: 192.168.0.1
and authentication WEP-128bit HEX

and it works ! I connect to internet with wireless on new notebook but not
everytime :((

Sometimes i can connect sometimes not.

route command out like below when I can NOT connection to internet :

Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 1000 0 0 wlan0
default 192.168.0.1 0.0.0.0 UG 100 0 0 wlan0

but when I CAN conection to internet,it is like below:

Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 1000 0 0 wlan0
default x_p.home.net 0.0.0.0 UG 100 0 0 wlan0

DNS seems like work :)


I tried to stop w_ind_ows firewall , other firewall program on x_p and
configured without authentication but still sometimes work,sometimes not work.

Everytime it works other notebook (3th notebook) that is have vista or xp
notebook , I have a problem only linux machine sometimes.

Why can not connnetion to internet evertime with linux machine ?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Share internet connections with Ad-hoc mode Or get search suggestion and latest updates.




Tagged: