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 01-11-2004, 12:30 AM   #1
oobe
Member
 
Registered: Sep 2003
Distribution: slackware
Posts: 85

Rep: Reputation: 16
networking adsl sharing usb ( many questions)


i am looking seriously at getting adsl the company i have chosen has
free usb modem i have found a generic usb modem linux driver that is suposed to support the dsl-200 modem.

i want to share a connection between the flat next running windows 98 (and possibly another computer) i
am running slackware 9.1 (kernel 2.6.1 & 2.4.22). the modem is a d-link dsl-200 i want to use a pentium II 233mhz computer as the server is there any chance if the linux driver doesnt work as well as expected i.e hanging slow connection ect i could use windows 2000 as the server
and slackware & win98 as the clients i know this seems ridiculous but the setup fees are to much already and i have no real networking experience i cannot afford an ethernet modem for the time being.

what i want to achieve is have the 2 or 3 clients connected to the server dividng the bandwidth evenly e.g 1.5 Mps with 500 Kbs each between 3. I know I have a long road ahead of me is it possible to practice with my existning dial up using ip masqerade and samba howto's will this info still be benificial relavent to adsl.

if anyone has any advice for me that would be great i need some howto's
i will keep posting on this topic as i know more and have any success or obsticles thanx in advance.

ps i meant to post this in linux networking not wireless networking if a moderator could move it i would appreaciate it thanx

Last edited by david_ross; 01-11-2004 at 07:55 AM.
 
Old 01-11-2004, 12:06 PM   #2
nidputerguy
Member
 
Registered: Oct 2003
Posts: 47

Rep: Reputation: 15
I'm a little confuse but..

What you really want is an external DSL router/modem. Call your potential DSL provider and ask them about it. They usually use NAT. All you have to do is use DHCP behind for your clients and it works. It is also very secure.
 
Old 01-12-2004, 04:56 PM   #3
oobe
Member
 
Registered: Sep 2003
Distribution: slackware
Posts: 85

Original Poster
Rep: Reputation: 16
if i have a dsl router modem will i still beable to control the traffic using a linux box you will have to excuse me but i havent any experience wilth networking and dont know much about adsl hardware but i heard if you get an adsl router modem and use it on a lan server it will conflict with the server as both will attempt to control traffic what i really want do do is controll bandwidth is there an easy way to do that with a router modem or would i be better of vontrolling the traffice with the linux box

Last edited by oobe; 01-12-2004 at 07:00 PM.
 
Old 01-12-2004, 09:33 PM   #4
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
2000 using ICS

The short answer to your question about using Win2000 as the server is, Yes.

You would enable Internet Connection Sharing on your PPPoE connection you create in Win2000. This will probably be done using a proprietary client your IPS will give you.

Once ICS is enabled it will automatically set your NIC's IP address to 192.168.0.1 and enable a DHCP server on that interface.

Set your clients to get an IP through DHCP and you're ready to roll.

Your Win2000 machine will pass DNS queries too, so no worries w/ your /etc/resolv.conf.

Hope this helps!

MrKnisely
 
Old 01-12-2004, 10:31 PM   #5
oobe
Member
 
Registered: Sep 2003
Distribution: slackware
Posts: 85

Original Poster
Rep: Reputation: 16
so i would set my slakcware box to resolve 192.168.0.1 and confiure its nic tp as 192.168.0.2 or somthing how what file would i put it io thought it would be /etc/resolv.conf
 
Old 01-13-2004, 09:19 AM   #6
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
Settings for Slackware...

If you are using your Win2000 box as the gateway for your network to the internet and you have enabled Internet Connection Sharing on it your client configuration would be simple:

Set your interfaces on your clients to recieve their addressing via DHCP. This will pass the propper settings (IP add, mask, DNS, Gateway, etc) to your clients without you needing to manually configure them.

If you need assistance as to how to set your Slackware machine's NIC to DHCP, you'll have to get a Slackwear guy to respond; I've never worked with that flavor. I'd assume it would either be in /etc/networks or /etc/sysconfig/network-scripts/ifcfg-ethX (X being your eth0, eth1, etc).

Hope this helps!

MrKnisely
 
Old 01-13-2004, 09:28 AM   #7
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
More on the Win2000 box....

To the best of my knowlege you will not be able to do any bandwidth flow control/throtteling with you Win2000 box. It is simply acting as a basic router.

What you are wanting to do with controlling bandwidth is a function within Microsoft's ISA Server. ISA is a large and EXPENSIVE product that is not user friendly to operate, and it runs on Win2000 Server; it's not what you want to use.

I'd say your best bet to get done what you actually want to do is to use a Linux box as your Gateway and scrap the Win2k idea. Win2k simply does not have the functionality to do anything but route.

MrKnisely
 
Old 01-16-2004, 08:20 AM   #8
oobe
Member
 
Registered: Sep 2003
Distribution: slackware
Posts: 85

Original Poster
Rep: Reputation: 16
the win2k idea isnt that good i know i have bought a book on tcp/ip and am reading will post back to let you know how i go when i finally get my dsl service i only wanted know about win2k as i dont have the money yet for a ethernet adsl modem and the usb one is free and dont anticpate having much success with the usb modem under linux from what i have read i have found some documantation on the usb modem that was translated from french it says it works with a set of certain drivers but it doesnt work well this would only be a temporay arroangment if it happens at all.
 
Old 01-18-2004, 09:24 AM   #9
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
Win2000 will be functional

Windows 2K will work as your network gateway for the time being. It's really just that you will not be able to implement your bandwidth throtteling plan.

There isn't really any nead to read up on TCP/IP except for your own benefit. The Win2K solution will take care of it all for you.

Once you have installed your USB "modem" you will have a new connection listed in your "Network and Dial-up Connections." Right click on this new connection and choose "Properties." Go to the Sharing tab and click the check box that will enable "Internet Connection Sharing."

This will set your Win2K's IP address to 192.168.0.1 automatically and start a DHCP server on your Win2K machine.

Now all you need to do on your clients is make shure they are plugged into the network and that their NIC settings are set to get and IP address via DHCP. That's all.

Now, when your Slackware machine boots it will broadcast for and IP address. The Win2K machine will then assign and IP address to it and it will know how to get out to the internet. It's that simple.

There is no need to dig more deeply into the TCP/IP stack for this project.

Hope this helps!

MrKnisely
 
Old 01-21-2004, 08:11 PM   #10
oobe
Member
 
Registered: Sep 2003
Distribution: slackware
Posts: 85

Original Poster
Rep: Reputation: 16
Re: Win2000 will be functional

thank you were very helpfull i was just wondering about




Quote:
Originally posted by charon79m

Now all you need to do on your clients is make shure they are plugged into the network and that their NIC settings are set to get and IP address via DHCP. That's all.

Now, when your Slackware machine boots it will broadcast for and IP address. The Win2K machine will then assign and IP address to it and it will know how to get out to the internet. It's that simple.

how do i set the clients ip or will win2k assign the ip automatically would i just do somthing like ifconfig 192.168.0.2 eth0 up or somthing in rc.local this connection will be static if that makes it easier
 
Old 01-21-2004, 09:06 PM   #11
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
Client Configuration

By default your NIC's on your clients should be set to get their IP addresses automaticaly via DHCP.

You can simply make shure they are plugged into the network then boot the system and run ifconfig to see if you got an ip address.

If you want to set your addresses manually you can use the ifconfig command but the context would be:

ifconfig eth0 192.168.0.2

This is only setting the IP address though. There are other settings that will need to be set in order to get your machine out to the internet via your Win2000 router... and you will need to input these settings each time you reboot. Just use DHCP unless you're willing to learn what you are actually doing.

MrKnisely
 
Old 01-29-2004, 10:37 PM   #12
oobe
Member
 
Registered: Sep 2003
Distribution: slackware
Posts: 85

Original Poster
Rep: Reputation: 16
i did it i have saved enough money and placed an order a week ago will be waiting for them to make a direct debit. I ordered a dratek 2500 we with a 4 port router so sharing a connection should be easy now will let you know how it went thank to everyone

cheers

Last edited by oobe; 01-29-2004 at 11:03 PM.
 
  


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
Vmware networking with adsl? subaruwrx Linux - Software 4 10-07-2008 03:21 AM
Sharing Internet through USB networking Navyblue Linux - Networking 11 09-14-2005 06:04 AM
Networking with Router and ADSL Bob Moore Linux - Networking 6 05-17-2004 11:35 AM
2 questions about adsl usb modem and Susefirewall2, is that allowed? Wait, that's 3.. M-8 Linux - Networking 0 04-19-2004 05:27 AM
sharing ADSL connexion harck Linux - Newbie 2 01-19-2004 03:40 PM

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

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