LinuxQuestions.org
Help answer threads with 0 replies.
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 06-26-2003, 07:23 PM   #1
lug_user
LQ Newbie
 
Registered: Jun 2003
Posts: 1

Rep: Reputation: 0
DSL Connection sharing...


Hi,

I am new to the networking world.

I've got a home PC with Red Hat 8.0 Linux and a laptop with Win2K.

I want to share a DSL connection between the two machines.

What hardware and software do I need?

Both of my machines have ethernet cards and also I have a DSL connection.

I'm just looking at how do I share the same connection between the two machines?

Any help will be welcome.

--Ron
 
Old 06-26-2003, 07:35 PM   #2
wlfdgcrkz
Member
 
Registered: Apr 2003
Location: North Hollywood Ca
Distribution: RedHat FreeBSD
Posts: 130

Rep: Reputation: 16
http://en.tldp.org/HOWTO/IP-Masquerade-HOWTO/index.html
 
Old 06-29-2003, 03:38 AM   #3
linux_pioneer
Member
 
Registered: May 2003
Distribution: Solaris 10, Solaris 8.0, Fedora Core 3
Posts: 203

Rep: Reputation: 30
Have you thought about using a Home DSL/Cable router. Linksys has a afforable one that comes with a 4 port switch. The router will establish and maintain the DSL connection. You can connect your systems to the ports on the switch with standard 10/100 LAN cards. On my network I have redhat 9.0, WIndows XP, WIndows 2000, and a Sparc Station 5 with Solaris 8.0. I use Samba to share files between linux and windows. Works like a charm. Have you thought about going with redhat 9.0? The reason I'm asking is because when I was using redhat 8 I remember alot of configuring I had to go through for Samba. WIth 9.0 I just used the gui tool to name my workgroup and shares and I was good. How do you feel about using a Home DSL router?
 
Old 06-30-2003, 03:37 PM   #4
bobr
Member
 
Registered: Jun 2003
Distribution: MANDRAKE-REDHAT
Posts: 70

Rep: Reputation: 15
LINUX_PIONEER IS CORRECT, BUT TO BE REAL COOL GET A WIRELESS ROUTER AND CARD FOR THE LAPTOP (CALL CDW)
HINT*READ AS MUCH DOCUMENTATION AS POSSIBLE!!!!
CONFIGURATION CAN BE TRICKY
 
Old 06-30-2003, 04:50 PM   #5
billlee
Member
 
Registered: Jun 2003
Location: East Texas
Distribution: Fedora (24)
Posts: 47

Rep: Reputation: 16
Sharing a DSL is trivially simple! I have set up three different locations to do just that, and carry a router with me when I travel so that I can do the same when visiting friends. And in addition to providing the shared DSL access, they provide a strong firewall for all of the systems in the house.

Go to your local computer store (I bought the last one at Best Buy) and buy a simple router. It should cost around $80-$90. It will have an RJ45 connection on one side that will connect to the DSL modem that you probably already have. On the other will be a number (four or eight is common) additional RJ45 connections where you can plug in the ethernet cable from your various systems in the house.

I have used two different vendors, SMC and Linksys and both work equally well. Both use a browser as the GUI to set up the parameters in the router. I recommend this since no proprietary software is needed on your PC to do the configuration. (Am still fighting the NetGear access point since its GUI is only good on Windows or Mac, and not good on my Linux system.)

You will need the same configuration parameters that the DSL vendor provided when they first attached it to yor PC. In the last case, it was a Verizon DSL and they needed the userID and password that had been given for set up to the PC, and the fact that this was a PPoE system. 10 minutes from the browser and the router was working and being shared with my Linux laptop and the other Windows XP PC.

Regards,

Bill Lee
 
Old 07-01-2003, 04:53 PM   #6
jlatzer
LQ Newbie
 
Registered: Jun 2003
Location: San Diego
Posts: 10

Rep: Reputation: 0
hi bill lee, can you give me advice on which router to use ?? I have one from trendnet( it said linux compatible), i paid 60 bucks and it can only be configured with windows. The router should supply all pcs with a working IP and dhclient should pick up that IP easily... at least that's what I thought. I am trying for 5 weeks now to get my linux red hat 9 to connect to the router, put I cannot even ping my router.. I have dual boot on the linux box, so when I boot windowsxp everything works fine ( so wiring is not a problem and the router works)...
It would be nice to have a router, that can be configured with Linux
Thanks for your advice in advance
Jo

Last edited by jlatzer; 07-01-2003 at 04:54 PM.
 
Old 07-01-2003, 08:28 PM   #7
billlee
Member
 
Registered: Jun 2003
Location: East Texas
Distribution: Fedora (24)
Posts: 47

Rep: Reputation: 16
Hello, Jo;

I can only recommend the two vendors I have personally used, SMC and Linksys. And I DO recommend either one of them.

I have two SMC 7004 routers, one an older model and one of later vintage. They both work identically. In addition, one installation I have done is at my son's home: he also has the SMC router.

At my daughter's home, I used a Linksys BEFSR41.

Both vendors use a standard web browser for the GUI. There is NO operating system-specific applications to worry about. If the unit you have says it's Linux compatible but only can be configured from a Windows machine, I would advise getting one of the two I mentioned.

As far as setting them up: your Linux system is already capable of communicating via ethernet, and that is just what the routers want. Either brand has a DHCP server in them, so you have no need for anything but the DHCP client on the Linux box. WIndows sets up the same, apparently (my son's and daughter's systems worked with no attention from me).

And, in addition to the ease of installation (plug it in, set a handful of config parameters via the browser), it also provides a very robust firewall that protects all of the systems in your home.

Price on either vendor is well under $100.

Hope this helps

Regards,

Bill Lee
 
Old 07-01-2003, 08:32 PM   #8
jlatzer
LQ Newbie
 
Registered: Jun 2003
Location: San Diego
Posts: 10

Rep: Reputation: 0
thank you sooo much for the reply, I will buy one asap, I am fed up with wasting my time for nothing, I will post if I had any success or not, I think I will go to fry's right now
Jo
 
Old 07-01-2003, 08:40 PM   #9
billlee
Member
 
Registered: Jun 2003
Location: East Texas
Distribution: Fedora (24)
Posts: 47

Rep: Reputation: 16
Ah, yes! Fry's! One of my favorite places. Don't forget that if it doesn't work out, you have a full refund period (20 days I think?) where they'll take it back from you.

Regards,

Bill Lee
 
Old 07-02-2003, 02:29 AM   #10
jlatzer
LQ Newbie
 
Registered: Jun 2003
Location: San Diego
Posts: 10

Rep: Reputation: 0
hi bill lee
You should have not mentioned that with the refund....
I bought the smc 7004 FM. I plugged the cable modem and the redhat box into the router, now how do I access the gui configuration tool for the router, if I simply type 192.168.2.1:88 in mozilla it says connection refused, also I cannot ping the router nor telnet into it ( says no route defined to host). The manual now states that you have to configure 1 pc first with tcp/ip, then configure the router ...., now how do I configure tcp/ip with red hat. If I type redhat-config-network and use dhclient to obtain an Ip , it fails, so do I have to set the ip to static, and which ip address do I use ( I tried ip 192.168.2.1, mask 255.255.255.0, gw 192.168.2.1, but that did not work) I would greatly appreciate some help...
Apart from that Fry's was great, spend 200 bucks on things I don't really need, but I simply love electronics and stuff
Take care
Jo
 
Old 07-02-2003, 06:57 AM   #11
billlee
Member
 
Registered: Jun 2003
Location: East Texas
Distribution: Fedora (24)
Posts: 47

Rep: Reputation: 16
Not sure about the URL. I suggest just
htp://192.168.2.1
(Make sure that's the right IP. I don't rememebr off-hand what it is supposed to be. The manual will tell you.) In my system, the SMC responds on port 80, not 88.

Telnet probably won'r work at all since the router doesn't support access other than the http access for the browser.

What IP did you use to ping the router? Can you Ping any other PC in your LAN? (You DID connect a cable from your Linux system to the SMC? Silly question, I know! :-)

Configuring TCP/IP in RH: doesn't RH come with TCP/IP ready to run? You really shouldn't have to configure anything. (That's been my experience with a half-dozen or so different RH systems.) Use the standrad RH tools and specify that the system is a DHCP client. Tell it that the IP of the DHCP server is the router IP (whatever IP the SMC documentation says the router responds to.)

If you assign a fixed IP, DON'T use the same IP that the router is assigned! (Again, read the SMC documentation.) I have a system in-house that cannot use DHCP, and it is assigned the IP 192.168.123.2 (the older SMC uses the subnet 192.168.123.XX, I believe the one you have uses 92.168.2.XX) With static addresses, make real sure tat you haven't inadvertently set the same IP in two diferent systems, including all devices like the router.

From your questions, it almost sounds like you have the TCP/IP stuff on your RH system hosed up. I will have to defer to others here to felp you get that straightened out. In my experience, RH "just works" and I have not really had to jack around with it other than to make sure the DHCP client switch was set.

Bill
 
Old 07-02-2003, 11:29 AM   #12
m_cornelsen
LQ Newbie
 
Registered: Nov 2001
Location: Fairview, Oklahoma
Distribution: RH 4.1, SuSE 6, RH 7.2, RH 7.3, RH 8, RH 9, Solaris 8
Posts: 16

Rep: Reputation: 0
Another reason to go with a router based solution - is firewall protection. You don't need some Trinity nmapping and nuking your machine. And for the most part, when a hardware firewall breaks - it breaks CLOSED! Unlike, software based solution, namely Zone Alarm (and even ipchains) - which tend to break open..
 
Old 07-02-2003, 11:12 PM   #13
maarten
LQ Newbie
 
Registered: Jun 2003
Distribution: Debian
Posts: 8

Rep: Reputation: 0
Hello everybody,

As a linux and an network newbie I’m having a hard time at the moment, this is the situation as far as I can tell: I have an Alcatel Speed Touch Home ADSL modem connected to a Netgear DS108 hub. Also on that hub is an Avaya wireless Residential Gateway and various clients (an winNT computer, an win2000 and an winXP). Getting internet on the windows computers was fairly easy: I connected them to the network, filled in a proxy server and port for LAN settings in IE and everything worked and I didn’t bother much about how it actually worked (apparently the Avaya-thingy provided broadband for the whole network). But now I’m trying to get internet working on a redhat computer, but is doesn’t seem to work: I have a working network (I can ping another computer), and I fill in the same proxy settings, but nothing… If someone could point me in the right direction, suggest a faq or give some –in very simple wording!- help, it would be greatly appreciated.
 
Old 07-07-2003, 01:32 PM   #14
m_cornelsen
LQ Newbie
 
Registered: Nov 2001
Location: Fairview, Oklahoma
Distribution: RH 4.1, SuSE 6, RH 7.2, RH 7.3, RH 8, RH 9, Solaris 8
Posts: 16

Rep: Reputation: 0
Let's see if i got this right -

Directly, from the ADSL modem to the Netgear hub to a split.
the split consisting of router on one physical port of the hub and the Linux box on another pysical port coming off the hub?

A number of problems come into mind!

Is your service provider only allowing one Public IP per ADSL connection? Because, by placing Linux box in the above layout - your machine (through the ISP) is wanting to be setup with a Public IP address rather than a natted IP address.

Is your ISP using some form of authenication such as PPPoE?

These are just a few problems!

Personally, I'd move the Linux box connection from the hub (if possible) to the router and setup port forwarding is you wish to provide web or email (and other) services.
 
Old 07-09-2003, 06:26 PM   #15
maarten
LQ Newbie
 
Registered: Jun 2003
Distribution: Debian
Posts: 8

Rep: Reputation: 0
Apparently i dont have to fill in the proxyserver of my ISP like in windows and the Avaya gateway is acting as a NAT router, knowing this I got it working, but thanks anyway...

I can't seem to configure the gateway to do stuff like port forwarding, maybe it's not designed for it, maybe it's me... I have got the advice to let a linux/BSD-box do the routing, but it will take some time before i'm able to pull such a thing off ;-);

maarten
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Sharing one DSL connection w/o a dedicated server drowstar Linux - Networking 5 05-12-2004 07:40 PM
Sharing a DSL connection through Windows XP with RH 7.2 Chuk Linux - Networking 7 10-12-2002 05:12 AM
SHaring a DSL connection Farking Bastage Linux - Networking 5 10-02-2002 06:54 AM
sharing a dsl connection... Chijtska Linux - Networking 12 02-01-2002 02:59 PM
DSL Connection Sharing johnym Linux - Networking 5 01-02-2002 02:45 PM

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

All times are GMT -5. The time now is 09:16 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