Connect to Windows7 created ad-hoc network

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Connect to Windows7 created ad-hoc network

Postby inp3dance » Oct 15th, '11, 22:00

Hi guys,

I'm facing the following situation: at the place where I am now to internet connection is set up by a dial application which is, of course, windows only. I have only linux on my laptop, but my girlfriend has windows 7, so she can connect to the net. What I tried to do is to set up an ad-hoc wireless connection on hers laptop and to connect to it from my linux box. Of course I didn't succeded. I see the created wireless network, but can't connect to it. I tried different encriptions too, no difference. Does anybody have some experience with internet sharing from windows to linux? How can I set it up?
I can use command line too, I'm familiar with wireless-tools.

Thank you!
inp3dance
 
Posts: 19
Joined: May 18th, '11, 12:47

Re: Connect to Windows7 created ad-hoc network

Postby JoesCat » Oct 17th, '11, 01:02

As a possibility, have you tried looking at the MAC address? I know with broadband, ISPs usually check the MAC to limit connections to only one computer (or a router), and it may be similar with Dial-up as well.
For example, Windows dial-up networking uses virtual MAC addresses to manage the phone connection as if it were a network card. Some Windows VPN clients likewise have their own MAC address. The MAC addresses of these "virtual" network adapters are the same length and format as true hardware addresses.
http://compnetworking.about.com/od/networkprotocolsip/a/macaddressing.htm.

You may want to look into cloning the windows7 machine's dial-up MAC value for dial-up purposes (since only one of you can only dial-up at one time). I don't think you want to do this for wifi as it might cause problems when both of you share the same wifi connection.
User avatar
JoesCat
 
Posts: 177
Joined: Sep 15th, '11, 04:27
Location: Richmond, BC, Canada

Re: Connect to Windows7 created ad-hoc network

Postby truls » Oct 20th, '11, 15:35

Maybe you need a proxy server on the windows pc, Analogx should do the trick. (http://www.analogx.com/contents/downloa ... eeware.htm)
truls
 
Posts: 52
Joined: Aug 12th, '11, 08:43

Re: Connect to Windows7 created ad-hoc network

Postby ajvlad » Dec 17th, '11, 21:26

If you setup internet share connection in win7, the wireless adapter must be set by windows with static ip something like 192.168.1.1 if I am not wrong.If you are using dynamic addressing for your linux laptop's wireless adaptor you cannot connect to the windows ad-hoc.Just put them both to talk same language.Or both dynamic or both static ip.Question:why you cannot connet from linux to the dial-up connection for internet.Because that is missing the modem or what?
ajvlad
 
Posts: 2
Joined: Nov 3rd, '11, 17:47

Re: Connect to Windows7 created ad-hoc network

Postby doktor5000 » Dec 18th, '11, 16:39

Actually when using ICS in windows, the computer told to do so will do the following, IIRC:
Change it's own IP adress to a static one which is predefined.
Act as a DHCP server with a predefined, difficult-to-change ip adress range.
Acts as a DNS server for the DHCP clients.

Maybe check back with: http://windows.microsoft.com/en-US/wind ... on-Sharing
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18062
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Connect to Windows7 created ad-hoc network

Postby linuxero » Dec 18th, '11, 18:27

I agree with ajvlad. That seems to be the whole problem if you cannot connect your machine to the Windows one..

Try working in that line.
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50

Re: Connect to Windows7 created ad-hoc network

Postby ajvlad » Dec 18th, '11, 19:12

The problem is that even xp with 7 sometimes cannot be connected using dynamic addresing.For momentary jobs I just setup static addreses.For yiu I think will be a bit difficult to use static addresing for wireless,because for the connection to other networks,access points,routers,etc you'll need to revert to dhcp.
So,for the win7 system,once you created the isc, go to the wireless adapter properties and revert the windows settings to dynamic addressing.After that you create the ad-hoc.
Once again,why you cannou dialout from your linux laptop?Will be better solution to do this and to share this connection from there to the win7 machine.
ajvlad
 
Posts: 2
Joined: Nov 3rd, '11, 17:47


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest