auto start Internet from router with optional manual pppoe
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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!
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!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.