LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-21-2006, 03:34 PM   #1
Xel'naga666
Member
 
Registered: Sep 2005
Location: UK
Distribution: Debian 4.0 Etch /Everywhere
Posts: 51

Rep: Reputation: 15
Dial-Up access in Linux via a Windows XP laptop with a WinModem installed? Possible??


Dial-Up access in Linux via a Windows XP laptop with a WinModem installed? Possible??.

Here is a rough diagram of the setup I wish to setup.

http://img232.imageshack.us/img232/1416/imagehy7.gif

I have been using Linux for far too long without internet access and have been using the windows laptop to do so. Is it possible to access the internet via this laptop? By using the crossover cable as shown in the pic?

My guess is to make the XP machine "host" the connection and then get Linux to access it over the ethnet crossover cable. But I have absolutly no idea how to do so...

Please please help me!! I will change to another distro if this is nessesary.. I have a nice pile of em next to me I hope to be able to do this in a cost free manner.

PS, I have very little Linux networking experience. So I may be a little slow there...
 
Old 09-22-2006, 05:58 AM   #2
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
I haven't used WinXP (or Windows in general) for several years, except occasionally. Anyway I'm almost certain that it can be done. In fact, all you probably have to do is

1) Enable Internet Connection sharing in WinXP (there's probably some wizard to do it)

2) Setup the network cards on both WinXP and Slackware with settings like this:

WinXP (static settings, no dhcp)
- IP address: 192.168.0.1
- Netmask: 255.255.255.0
- Broadcast: 192.168.0.255 (if there is a field like this)

I don't know how these settings are applied to Slack, but in Debian you have a file /etc/network/interfaces in which you in this case should put

iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
gateway 192.168.0.1
broadcast 192.168.0.255 (I don't think actually need this, use it if it doesn't work otherwise)

3= Restart eth0 on slack, probably with

ifdown eth0
ifup eth0

Just make sure that eth0 does NOT use DHCP, otherwise it will not work.

Last edited by basileus; 09-22-2006 at 05:59 AM.
 
Old 09-22-2006, 11:46 AM   #3
Xel'naga666
Member
 
Registered: Sep 2005
Location: UK
Distribution: Debian 4.0 Etch /Everywhere
Posts: 51

Original Poster
Rep: Reputation: 15
Thanks for the great reply. I'll give it a shot and get back to you.
 
Old 09-22-2006, 01:08 PM   #4
Xel'naga666
Member
 
Registered: Sep 2005
Location: UK
Distribution: Debian 4.0 Etch /Everywhere
Posts: 51

Original Poster
Rep: Reputation: 15
Yay!! Thanks for the help, it worked. Finally im using the net in linux now. Updates here I come.

Many many thanks again.
 
Old 09-29-2006, 11:50 PM   #5
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
just fyi, windows xp connection sharing can hand out dhcp addresses, but if you have a working setup there is no need to change it.
 
Old 09-30-2006, 03:16 PM   #6
Xel'naga666
Member
 
Registered: Sep 2005
Location: UK
Distribution: Debian 4.0 Etch /Everywhere
Posts: 51

Original Poster
Rep: Reputation: 15
Cheers for the reply anyway. I should have also put up the full solution here.

I basically edited the networking detials as said above in "basileus"'s post in this file "/etc/rc.d/rc.inet1.conf"

Code:
# Config information for eth0:
IPADDR[0]="192.168.0.10"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY="192.168.0.1"
So heres how you do it in Slackware if anyone else out there needs this too. Thanks everyone!! Dial-Up may be slow, but it's better than nothing

Last edited by Xel'naga666; 09-30-2006 at 03:18 PM.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to access a printer in a machine with windows installed? ricguitar Mandriva 5 05-03-2006 11:03 AM
stuck with dial-up winmodem pete_bogg Linux - Games 1 11-26-2005 10:55 PM
SuSE 10.0 Dial Up Conexant Winmodem worries Cards_STL Linux - Networking 1 10-29-2005 01:24 PM
how to buy laptop with NO windows installed Entropius Linux - Laptop and Netbook 15 07-15-2004 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration