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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-08-2005, 10:02 AM   #1
v@ny@
Member
 
Registered: Dec 2005
Location: Moscow
Distribution: Ubuntu 8.1
Posts: 104

Rep: Reputation: 15
auto start Internet from router with optional manual pppoe


I have two computers at home. My flatmates' computer connects direct to the internet (trough the hub), my computer gets the internet from his (also trough the hub). After I installed salckware, it auto recognizes the network connection when the other computer connects. No problem there. But, when my friend disconnects...
1- I want to be able to directly connect to our internet provider with our username, password, etc.
2-Also, if possible, to confiure my slackware so when I am connected, my flatmates' computer (windows xp) will be a client of my linux and get the internet from me.

Any ideas?

Thanks!

Ivan
 
Old 12-08-2005, 10:35 PM   #2
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Rep: Reputation: 30
Quote:
I have two computers at home. My flatmates' computer connects direct to the internet (trough the hub), my computer gets the internet from his (also trough the hub).
I am guessing you mean a cable modem?, and your friends xp box is the gateway.
Quote:
After I installed salckware, it auto recognizes the network connection when the other computer connects. No problem there. But, when my friend disconnects...
Of course you will go down, you've lost your tcp/ip connection.
Quote:
1- I want to be able to directly connect to our internet provider with our username, password, etc.
IMHO, I would get a router, or hub(a little cheaper but not as good as a router)then there is no worries about when someone will be disconnecting.
Quote:
2-Also, if possible, to confiure my slackware so when I am connected, my flatmates' computer (windows xp) will be a client of my linux and get the internet from me.
Yes this is possible. You will be the gateway instead of him. I would still suggest investing in a hub or router but still having fun with trying things out.
Hope that helps some.
 
Old 12-09-2005, 03:45 AM   #3
v@ny@
Member
 
Registered: Dec 2005
Location: Moscow
Distribution: Ubuntu 8.1
Posts: 104

Original Poster
Rep: Reputation: 15
Hummm, sorry, it was late at night and now I can see it's hard to understand what's going on from what I wrote.
I'll try again:
1- Flatmates' computer is connected to the hub
2- My computer is connected to the hub
3- The ADSL ethernet modem is connected to the hub

I configured a network between my friends computer and mine, so I use the internet as a client of his computer. I did my computer as a client because I do go offline sometimes, but my friend is a lazy bum and rarely goes offline, as he has nothing else to do. I know that me, being a client of his computer, will loose my connection when he goes offline. I understand that... no problems... What I want is to have something similar to what I had in windows:

When I turn my computer on, it automatically detects the network connection and (assuming my friends' pc is connected to the net) my computer is connected to the internet. If my friend do happend to be offline, I can click on "My network connections" icon, and there is my ADSL connection where I can type my user name and password and... I'm online. I wanted to have this option using slackware, if it is possible.
My second question is: Assuming I configured my computer to have this two options (connect as a client of the network, or directly with my username and password), is it possible to be the client of my friends computer when he is on the net, and my friends computer be the client when I am on the net? I think this is probably something I should post in the "Network" forum, so if anyone knows how to configure the internet to have the two options is already GREAT!

Thanks!

Last edited by v@ny@; 12-09-2005 at 03:47 AM.
 
Old 12-09-2005, 05:08 AM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Configure the "normal" connection with netconfig and the other with pppoe-setup (use pppoe-start to connect). That should do it.
 
Old 12-09-2005, 09:16 AM   #5
v@ny@
Member
 
Registered: Dec 2005
Location: Moscow
Distribution: Ubuntu 8.1
Posts: 104

Original Poster
Rep: Reputation: 15
Ok, I did that. But the problem is after I configured the pppoe the netconfig (network connection) doesn't work anymore... DO I have to reboot the computer to change from one connection to the other or is there somenthing else I am missing? Maybe something in the configuration of pppoe? When it asked me for the 'iddle' time I seected 'no', could that be the problem? I didn't really understad what's with the 'iddle' option. The man pppoe didn't cover that too good!
 
Old 12-09-2005, 12:12 PM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
You could try instead of rebooting, shutdown pppoe with pppoe-stop and then restarting inet1: /etc/rc.d/rc.inet1 restart
It's ok to select no there, dialing on demand connects to pppoe when you try to reach something that's not on your LAN, the dialer dials automatically for you and tries to reach it. The idle time it asks about is the time of inactive connection to the outside before it drops the automatic connection.

Last edited by gbonvehi; 12-09-2005 at 12:32 PM.
 
Old 12-09-2005, 01:21 PM   #7
v@ny@
Member
 
Registered: Dec 2005
Location: Moscow
Distribution: Ubuntu 8.1
Posts: 104

Original Poster
Rep: Reputation: 15
Humm, I see! Thanks for the tips! I'l give it a go!
 
  


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 do I auto start modules that aren't auto loaded on boot? darkbluedrew Debian 2 09-18-2005 09:10 AM
Internet (eth0 interface) does not auto-start sekelsenmat Linux - Networking 7 09-13-2005 10:10 AM
eth0 Auto Connect, How to auto start on logon cornish Linux - Networking 2 05-09-2005 12:02 PM
internet with pppoe behind a router mdk2k Linux - Hardware 1 04-25-2004 09:55 PM
mandrake 9.2 cannot get on internet using pppoe internent connection and dlink router shedrik Linux - Networking 0 03-28-2004 01:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:28 PM.

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