A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Networking with Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing)

Internet Connection Sharing between Vista and Ubuntu.



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 1st 08, 10:30 PM posted to microsoft.public.windows.vista.networking_sharing
gmorrissey@kol.co.nz
external usenet poster
 
Posts: 1
Default Internet Connection Sharing between Vista and Ubuntu.

Hey all

I am trying to connect my Windows Vista Laptop to my Linux Ubuntu
desktop via. a 10/100 Mb/s switch. I also am trying to enable internet
connection sharing so I can allow my Ubuntu desktop to access the
internet. The reason that I am doing this is I am unable to find a
specific driver in Linux for my 64bit operating system on my desktop
computer, so I am trying to configure an internet sharing connection.
The trouble I am having is thus:
1) I set up internet connection sharing in Vista, but the settings are
lost??
2) I can ping my Vista Laptop from Ubuntu (192.168.0.1) but I cannot
see the network on either side (Vista or Ubuntu)

Im a complete noobie with Vista and Ubuntu. Any help would be most
appreciated.

Glenn.
  #2 (permalink)  
Old November 1st 08, 11:13 PM posted to microsoft.public.windows.vista.networking_sharing
Malke[_2_]
external usenet poster
 
Posts: 4,230
Default Internet Connection Sharing between Vista and Ubuntu.

wrote:

Hey all

I am trying to connect my Windows Vista Laptop to my Linux Ubuntu
desktop via. a 10/100 Mb/s switch. I also am trying to enable internet
connection sharing so I can allow my Ubuntu desktop to access the
internet. The reason that I am doing this is I am unable to find a
specific driver in Linux for my 64bit operating system on my desktop
computer, so I am trying to configure an internet sharing connection.
The trouble I am having is thus:
1) I set up internet connection sharing in Vista, but the settings are
lost??
2) I can ping my Vista Laptop from Ubuntu (192.168.0.1) but I cannot
see the network on either side (Vista or Ubuntu)

Im a complete noobie with Vista and Ubuntu. Any help would be most
appreciated.


You do need to set up networking using Samba between Windows and Linux. I'll
give you the general instructions for this below. I'll let one of the ICS
experts address that part of the equation for you.

1. On Windows boxen, make sure all accounts are properly named (no damned
spaces) and there are no null passwords. Configure any firewalls to allow
lan traffic. Create shares as desired. Note that if any boxen are XP Pro,
you should disable Simple Sharing (Folder OptionsView).

2. On Linux, create identical user account/passwords with your distro's
configuration method.
3. Make sure you've installed Samba server/client with your distro's
configuration method.
4. Configure run levels so that the nmb and smb daemons start at bootup.

5. Now add your users to Samba. Make these match the ones on Windows. I
think the easiest way is from the console, so open one, su to root, and
type:
smbpasswd -a username [enter]
(enter password)
(enter password again)

6. Go to your distro's configuration method and set your Samba server and
client Identity to match your Windows Workgroup name.

7. I use KDE, so if you use Gnome or another window manager you'll need to
figure this next bit out yourself. Open up the Control Center and go to
Internet/Network and then Samba. Click on the Administrator Mode (enter
root password). I use User security level. Check to make sure Shares (these
are for the Linux box of course) are the way you want them. Apply and close
that part.

8. Click on File Sharing and enable Administrator Mode. Check "Enable local
network file sharing". I have mine set on "Advanced sharing". Check the box
for "Use Samba" rather than NFS.

And that's pretty much it. Now if you want to make a new share - say a
folder that isn't in your /home, you can right-click it to set Sharing
Properties. If all you want to share is your /home, you're done. Since 9.3,
SUSE has a useful Network icon on the desktop (at least in KDE it does)
where you can find your Windows Workgroup and see all the smb shares.
Perhaps your distro does, too.

Note: To use a Linux firewall w/Samba - If you do not have WINS on the
network, then your network is relying on broadcasted browser announcements
for NetBios resolution. Configure your firewall to allow NetBios
broadcasts, with UDP and TCP ports 137-139 open.

This site has an excellent firewall how-to -
http://www.tweakhound.com/linux/samba/page_5.htm

If you want to share any files as well as use ICS, you need to change Vista
as follows to work with any *nix OS:

StartRunsecpol.msc [enter]

Click on "Local Policies" -- "Security Options"

Navigate to the policy "Network Security: LAN Manager authentication level"
and double-click it to get its Properties. By default Windows Vista sets
the policy to "NTVLM2 responses only". Use the drop-down arrow to change
this to "LM and NTLM ? use NTLMV2 session security if negotiated".

In Vista Home Premium, you won't have this tool so per Steve Winograd, do:

1. Run the registry editor and open this key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Lsa

2. If it doesn't already exist, create a DWORD value named
LmCompatibilityLevel

3. Set the value to 1

4. Reboot

Hope that helps you with the networking part. Presumably you have a driver
for eth0 or your wired network adapter won't work in any case.

I found this useful site by Googling "ICS in Vista":
Using ICS in Vista:
http://windowshelp.microsoft.com/Win...b14771033.mspx

I don't use Ubuntu (prefer SUSE) or ICS, so I can't help you on the *nix
side. Googling for "ICS in Linux" brings up some sites that look promising

http://www.google.com/search?hl=en&q...rch&aq= f&oq=

Malke
--
MS-MVP
Elephant Boy Computers - Don't Panic!
FAQ - http://www.elephantboycomputers.com/#FAQ

  #3 (permalink)  
Old November 2nd 08, 12:51 AM posted to microsoft.public.windows.vista.networking_sharing
Bill Kearney
external usenet poster
 
Posts: 77
Default Internet Connection Sharing between Vista and Ubuntu.

You do need to set up networking using Samba between Windows and Linux

No, you don't. Not unless you plan on having the linux box read files from
windows, and vice-versa. If you're just going to share the network then
samba is not necessary. Not at all.

You can thus ignore all the remaining convolution and unnecessary steps.


  #4 (permalink)  
Old November 2nd 08, 12:53 AM posted to microsoft.public.windows.vista.networking_sharing
Bill Kearney
external usenet poster
 
Posts: 77
Default Internet Connection Sharing between Vista and Ubuntu.

I am trying to connect my Windows Vista Laptop to my Linux Ubuntu
desktop via. a 10/100 Mb/s switch. I also am trying to enable internet
connection sharing so I can allow my Ubuntu desktop to access the
internet.


And your windows box has how many network connections? How is the link
being made to the internet? Depending on what's being used it may or may
not be necessary to use ICS.

The reason that I am doing this is I am unable to find a
specific driver in Linux for my 64bit operating system on my desktop
computer, so I am trying to configure an internet sharing connection.


What? That makes no sense. What network card is it in the linux box that
doesn't have a driver? If it doesn't have a driver then no amount of
configuring of the *windows* box will help it.

  #5 (permalink)  
Old November 2nd 08, 02:00 PM posted to microsoft.public.windows.vista.networking_sharing
Malke[_2_]
external usenet poster
 
Posts: 4,230
Default Internet Connection Sharing between Vista and Ubuntu.

Bill Kearney wrote:

You do need to set up networking using Samba between Windows and Linux


No, you don't. Not unless you plan on having the linux box read files
from
windows, and vice-versa. If you're just going to share the network then
samba is not necessary. Not at all.

You can thus ignore all the remaining convolution and unnecessary steps.


Well, since I wasn't sure whether you would need to set up file sharing for
ICS to work, I gave the OP all of that to be sure. Only a few electrons
were wasted and if he is indeed trying to share files, he'll have the
information.

I haven't used ICS since Win95 and you apparently have, so I bow to your
superior knowledge about using it.

Malke
--
MS-MVP
Elephant Boy Computers - Don't Panic!
FAQ - http://www.elephantboycomputers.com/#FAQ

  #6 (permalink)  
Old November 2nd 08, 02:50 PM posted to microsoft.public.windows.vista.networking_sharing
Bill Kearney
external usenet poster
 
Posts: 77
Default Internet Connection Sharing between Vista and Ubuntu.

Well, since I wasn't sure whether you would need to set up file sharing
for
ICS to work, I gave the OP all of that to be sure. Only a few electrons
were wasted and if he is indeed trying to share files, he'll have the
information.


I use samba all the time. Were he asking specifically about filesharing
between the two then it'd be advice to offer. But that wasn't what he was
asking. Samba, like many linux tools, is a black hole into which much of
your time can disappear. The effort spent on wrestling with properly, and
securely, configuring it is not insignificant.

I haven't used ICS since Win95 and you apparently have, so I bow to your
superior knowledge about using it.


I don't find it useful in many situations. It's often much better to use
other solutions external to the computers (like a router). An external
router is often more stable, requires less configuration and attention and
will very likely consume considerably less electricity to operate.

But until the OP comes back with more details it's anyone's guess.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:01 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.