Re: [expert] Re: [newbie] Connecting to the Internet - why is it so difficult?
On Sat, 06 May 2000, Colin Whipple wrote: > On Fri, 05 May 2000, you wrote: > > No, actually, I am trying to connect to my lan (nics and hubs and all) and > > at the same time connect to the web using my modem (regular dial up > > connection). > > > > I'll take any suggestions though > > I had problems when first starting to use Linux. I was on a small LAN when > trying to set up my ISP connection. The Linux install made some incorrect > assumptions and put in some wrong gateway information. > > Use net.cfg to look at what your default gateway is. It should either be > blank, or have IP address given you for that purpose by your ISP. Most likely > it should be blank. Sorry. There is no "." in netcfg. Colin
Re: [expert] Re: [newbie] Connecting to the Internet - why is it so difficult?
On Fri, 05 May 2000, you wrote: > No, actually, I am trying to connect to my lan (nics and hubs and all) and > at the same time connect to the web using my modem (regular dial up > connection). > > I'll take any suggestions though I had problems when first starting to use Linux. I was on a small LAN when trying to set up my ISP connection. The Linux install made some incorrect assumptions and put in some wrong gateway information. Use net.cfg to look at what your default gateway is. It should either be blank, or have IP address given you for that purpose by your ISP. Most likely it should be blank. I think the default gateway device should also be blank. It should NOT be something like eth0. Colin
Re: [expert] Re: [newbie] Connecting to the Internet - why is it so difficult?
On 5/05/00, at 11:01, Alan Shoemaker [EMAIL PROTECTED] said: >Kirk/Mikeif I'm reading this correctly you guys are both >trying to connect to other computers in a private lan and also >to connect to the internet via a wide-band connection such as >cable or dsl with a single nic card? No, not me, I was trying to get a ppp connection with a dialup modem, and connect to a lan with an ethernet card. Kirk vice versa Translations - French to English, English to French | Technical Writing Traductions francais-anglais, anglais-francais | Redaction technique . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [EMAIL PROTECTED]http://www.mcelhearn.com Kirk McElhearn | Chemin de la Lauze | 05600 Guillestre | France
Re: [expert] Re: [newbie] Connecting to the Internet - why is it so difficult?
Guillermo Belli wrote: If you uncheck that box, you won't be able to dial up at all (been there); you get the message 'pppd has died unexpectedly'. Mike > > I think the problem is with the DNS. There's an option in kppp that disables > any other DNS than those you specified in kppp (those you enteres in > linuxconf for example) while you connect to the net. Uncheck this option and > try again. > > Mike & Tracy Holt, escribió: > > No, actually, I am trying to connect to my lan (nics and hubs and all) and > > at the same time connect to the web using my modem (regular dial up > > connection). > > > > I'll take any suggestions though > > > > Mike > > -- > > *Guillermo Belli-Linux User #121340* > * ICQ #38321312* > *http://sites.netscape.net/memo81 (en construccion)* > -- = "Microsoft has performed an illegal operation and will be shut down." = Michael Holt [EMAIL PROTECTED] Kirkland, WA == The Penguins are coming!!! ==
Re: [expert] Re: [newbie] Connecting to the Internet - why is it so difficult?
I think the problem is with the DNS. There's an option in kppp that disables any other DNS than those you specified in kppp (those you enteres in linuxconf for example) while you connect to the net. Uncheck this option and try again. Mike & Tracy Holt, escribió: > No, actually, I am trying to connect to my lan (nics and hubs and all) and > at the same time connect to the web using my modem (regular dial up > connection). > > I'll take any suggestions though > > Mike -- *Guillermo Belli-Linux User #121340* * ICQ #38321312* *http://sites.netscape.net/memo81 (en construccion)*
Re: [expert] Re: [newbie] Connecting to the Internet - why is it so difficult?
No, actually, I am trying to connect to my lan (nics and hubs and all) and at the same time connect to the web using my modem (regular dial up connection). I'll take any suggestions though Mike - Original Message - From: Alan Shoemaker <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 05, 2000 11:01 AM Subject: [expert] Re: [newbie] Connecting to the Internet - why is it so difficult? > Kirk/Mikeif I'm reading this correctly you guys are both > trying to connect to other computers in a private lan and also > to connect to the internet via a wide-band connection such as > cable or dsl with a single nic card? > > If that is the case with you, then the problem is that you > need a second nic card and need to dedicate one of the nics to > the internet connection and the other to the lan. > > If I got the facts wrong, sorry for the intrusion. > > Alan > > > Mike & Tracy Holt wrote: > > > > I don't think I really qualify as a Linux geek yet either... but here's my > > best shot. > > As far as your connection with kppp, it really shouldn't be that difficult. > > One thing I've noticed (and written to this list and the expert list about, > > nobody seemed to want to answer), is that you can either have a lan > > connection, or you can have an internet connection, but not both. I've been > > trying off and on for several months to figure out how to use NFS and such, > > but everytime I get to the point where I can ping another computer from the > > main on my own little network, then I lose the ability to connect to the > > web. Once I remove the network settings from my computer, I'm able to > > connect to the web again. Maybe that would be something you can try. Go > > into linuxconf and remove your other settings (eth0 or whatever) and then go > > back to kppp and run through the setup there. I've bookmarked a page from > > my isp that shows how to get kppp up and running, here it is: > > http://help.jps.net/unsupported/mandrake/ > > > > If you have any luck getting both your internet AND your lan connection > > working at the same time, let me know! I'd love to be able to share files > > without having to boot into Windows! > > > > Mike > > > > > OK, I'm not a real Linux geek... yet. I am a Mac user, and have been > > > successfully using Macs for more than ten years, without any major > > > problems. But for professional reasons, I wanted to get into Linux, and > > > chose Mandrake because it was supposed to be the simplest to get running. > > > > > > > > > > > > I see no need to have to edit files with cryptic commands when there are > > > GUI interfaces that do the same thing. So, to connect my computer to the > > > Internet, I tried to use Kppp. I am amazed that it does not work, and > > > that the only way to get it to work seems to be to read a ton of Linux > > > books and docs. > > > > > > So, here's what happened. First, following the instructions given in > > > some bacis Linux books, and the Mandrake doc (as well as doc on web > > > sites), I entered the necessary info in Kppp - account info, such as > > > phone number, user name, password, etc. I tried to connect. Zip. > > > Computer tells me > > > > > > >May 3 14:22:52 localhost pppd[917]: The remote system is required to > > > >authenticate itself but I couldn't find any secret (password) which would > > > >let it use an IP address. > > > > > > OK, this is wonderful. All the doc says it is so easy... Some kind > > > souls tell me that I need to add the "noauth" argument. OK, why do I > > > need to do this? I mean, why does it default to auth? > > > > > > But when I try to do this, Computer tells me that I can only do it as > > > root. Now, all the docs and books say, don't use root unless you really > > > need to. But if I can't connect to the Internet as a normal user, I need > > > to be root. So I log in as root, and "noauth" and get the connection up. > > > The connection, and nothing more. > > > > > > In spite of the fact that I have my ISPs DNS numbers correctly entered, > > > nothing happens. Computer is searching in the ether and cannot find any > > > nameservers. I try, on the advice of a kind soul on this list, to > > > uncomment the lines in the resolv.conf file, to no avail. > > > > > > So, still no connection. > > > > > >
[expert] Re: [newbie] Connecting to the Internet - why is it so difficult?
Kirk/Mikeif I'm reading this correctly you guys are both trying to connect to other computers in a private lan and also to connect to the internet via a wide-band connection such as cable or dsl with a single nic card? If that is the case with you, then the problem is that you need a second nic card and need to dedicate one of the nics to the internet connection and the other to the lan. If I got the facts wrong, sorry for the intrusion. Alan Mike & Tracy Holt wrote: > > I don't think I really qualify as a Linux geek yet either... but here's my > best shot. > As far as your connection with kppp, it really shouldn't be that difficult. > One thing I've noticed (and written to this list and the expert list about, > nobody seemed to want to answer), is that you can either have a lan > connection, or you can have an internet connection, but not both. I've been > trying off and on for several months to figure out how to use NFS and such, > but everytime I get to the point where I can ping another computer from the > main on my own little network, then I lose the ability to connect to the > web. Once I remove the network settings from my computer, I'm able to > connect to the web again. Maybe that would be something you can try. Go > into linuxconf and remove your other settings (eth0 or whatever) and then go > back to kppp and run through the setup there. I've bookmarked a page from > my isp that shows how to get kppp up and running, here it is: > http://help.jps.net/unsupported/mandrake/ > > If you have any luck getting both your internet AND your lan connection > working at the same time, let me know! I'd love to be able to share files > without having to boot into Windows! > > Mike > > > OK, I'm not a real Linux geek... yet. I am a Mac user, and have been > > successfully using Macs for more than ten years, without any major > > problems. But for professional reasons, I wanted to get into Linux, and > > chose Mandrake because it was supposed to be the simplest to get running. > > > > > > > > I see no need to have to edit files with cryptic commands when there are > > GUI interfaces that do the same thing. So, to connect my computer to the > > Internet, I tried to use Kppp. I am amazed that it does not work, and > > that the only way to get it to work seems to be to read a ton of Linux > > books and docs. > > > > So, here's what happened. First, following the instructions given in > > some bacis Linux books, and the Mandrake doc (as well as doc on web > > sites), I entered the necessary info in Kppp - account info, such as > > phone number, user name, password, etc. I tried to connect. Zip. > > Computer tells me > > > > >May 3 14:22:52 localhost pppd[917]: The remote system is required to > > >authenticate itself but I couldn't find any secret (password) which would > > >let it use an IP address. > > > > OK, this is wonderful. All the doc says it is so easy... Some kind > > souls tell me that I need to add the "noauth" argument. OK, why do I > > need to do this? I mean, why does it default to auth? > > > > But when I try to do this, Computer tells me that I can only do it as > > root. Now, all the docs and books say, don't use root unless you really > > need to. But if I can't connect to the Internet as a normal user, I need > > to be root. So I log in as root, and "noauth" and get the connection up. > > The connection, and nothing more. > > > > In spite of the fact that I have my ISPs DNS numbers correctly entered, > > nothing happens. Computer is searching in the ether and cannot find any > > nameservers. I try, on the advice of a kind soul on this list, to > > uncomment the lines in the resolv.conf file, to no avail. > > > > So, still no connection. > > > > What gives? If everyone else can get a connection up, is there something > > wrong with my installation or my computer? If the books and docs show it > > is so easy, why I am having so many problems? And this noauth thing - > > why do I have to add it, when, apparently, no one should need auth except > > in special cases? > > > > I'm a bit taken aback by some of the stuff I need to do to get this up > > and running. Especially because I have been hired to write tutorials > > about Mandrake for a web site, and need to explain to others how to do > > these things. Sure, most things work out ok, but when I see just how > > complicated it is to get a simple ppp connection, I am really shocked. > > (BTW, it was actually much easier to get my Linux box networked with my > > Mac over AppleTalk; definately a power user thing, while a ppp connection > > is really a basic). > > > > > > > > So, can anyone help? > > > > > > Kirk > > > > > > vice versa > > Translations - French to English, English to French | Technical Writing > > Traductions francais-anglais, anglais-francais | Redaction > technique > > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Re: [expert] Re: [newbie] Connecting to the Internet - why is it so difficult?
Of course! His LAN connection is probably set up as the default route/gateway and as a result internet requests are being routed to the Appletalk network. Try doing a '/sbin/route del default' (sans quotes) before dialing and see what happens. In theory, kppp will assign a new default route. If you still have no joy after dialing try the following: /sbin/route add default gw $(/sbin/route -n | grep ppp | awk '{print $1}') What this does is set the default gateway to whatever ip your ppp link is connected to. Note that it can screw things up if you have more than one line containing 'ppp' in the /sbin/route output, so make sure you don't before running it. Obviously this is just a testing solution. (Some notes below) On Thu, 04 May 2000, Mike & Tracy Holt wrote: | One thing I've noticed (and written to this list and the expert list about, | nobody seemed to want to answer), is that you can either have a lan | connection, or you can have an internet connection, but not both. | > | > I see no need to have to edit files with cryptic commands when there are | > GUI interfaces that do the same thing. Most of the GUI interfaces to do those things don't have the power/flexibility to do things in other than ideal circumstances. The only GUI configuration tool I use is linuxconf and I use it at least as often from the console. | > I am amazed that it does not work, and | > that the only way to get it to work seems to be to read a ton of Linux | > books and docs. | > | > OK, this is wonderful. All the doc says it is so easy... Some kind | > souls tell me that I need to add the "noauth" argument. OK, why do I | > need to do this? I mean, why does it default to auth? Security. If I'm using ppp to dial in to the office, both machines must authenticate themselves. | > But when I try to do this, Computer tells me that I can only do it as | > root. Now, all the docs and books say, don't use root unless you really | > need to. But if I can't connect to the Internet as a normal user, I need | > to be root. So I log in as root, and "noauth" and get the connection up. | > The connection, and nothing more. This is why you edit the file /etc/ppp/options instead of using a kppp option. The noauth option is privliged, and therefore must be specified by root. If it is the file then root must have specified it and you're in business. | > In spite of the fact that I have my ISPs DNS numbers correctly entered, | > nothing happens. Computer is searching in the ether and cannot find any | > nameservers. I try, on the advice of a kind soul on this list, to | > uncomment the lines in the resolv.conf file, to no avail. See above about gateways. | > What gives? If everyone else can get a connection up, is there something | > wrong with my installation or my computer? If the books and docs show it | > is so easy, why I am having so many problems? And this noauth thing - | > why do I have to add it, when, apparently, no one should need auth except | > in special cases? | > | > I'm a bit taken aback by some of the stuff I need to do to get this up | > and running. Especially because I have been hired to write tutorials | > about Mandrake for a web site, and need to explain to others how to do | > these things. Sure, most things work out ok, but when I see just how | > complicated it is to get a simple ppp connection, I am really shocked. | > (BTW, it was actually much easier to get my Linux box networked with my | > Mac over AppleTalk; definately a power user thing, while a ppp connection ^^^ This is what is making life difficult. | > is really a basic). | >
[expert] Re: [newbie] Connecting to the Internet - why is it so difficult?
I don't think I really qualify as a Linux geek yet either... but here's my best shot. As far as your connection with kppp, it really shouldn't be that difficult. One thing I've noticed (and written to this list and the expert list about, nobody seemed to want to answer), is that you can either have a lan connection, or you can have an internet connection, but not both. I've been trying off and on for several months to figure out how to use NFS and such, but everytime I get to the point where I can ping another computer from the main on my own little network, then I lose the ability to connect to the web. Once I remove the network settings from my computer, I'm able to connect to the web again. Maybe that would be something you can try. Go into linuxconf and remove your other settings (eth0 or whatever) and then go back to kppp and run through the setup there. I've bookmarked a page from my isp that shows how to get kppp up and running, here it is: http://help.jps.net/unsupported/mandrake/ If you have any luck getting both your internet AND your lan connection working at the same time, let me know! I'd love to be able to share files without having to boot into Windows! Mike > OK, I'm not a real Linux geek... yet. I am a Mac user, and have been > successfully using Macs for more than ten years, without any major > problems. But for professional reasons, I wanted to get into Linux, and > chose Mandrake because it was supposed to be the simplest to get running. > > > > I see no need to have to edit files with cryptic commands when there are > GUI interfaces that do the same thing. So, to connect my computer to the > Internet, I tried to use Kppp. I am amazed that it does not work, and > that the only way to get it to work seems to be to read a ton of Linux > books and docs. > > So, here's what happened. First, following the instructions given in > some bacis Linux books, and the Mandrake doc (as well as doc on web > sites), I entered the necessary info in Kppp - account info, such as > phone number, user name, password, etc. I tried to connect. Zip. > Computer tells me > > >May 3 14:22:52 localhost pppd[917]: The remote system is required to > >authenticate itself but I couldn't find any secret (password) which would > >let it use an IP address. > > OK, this is wonderful. All the doc says it is so easy... Some kind > souls tell me that I need to add the "noauth" argument. OK, why do I > need to do this? I mean, why does it default to auth? > > But when I try to do this, Computer tells me that I can only do it as > root. Now, all the docs and books say, don't use root unless you really > need to. But if I can't connect to the Internet as a normal user, I need > to be root. So I log in as root, and "noauth" and get the connection up. > The connection, and nothing more. > > In spite of the fact that I have my ISPs DNS numbers correctly entered, > nothing happens. Computer is searching in the ether and cannot find any > nameservers. I try, on the advice of a kind soul on this list, to > uncomment the lines in the resolv.conf file, to no avail. > > So, still no connection. > > What gives? If everyone else can get a connection up, is there something > wrong with my installation or my computer? If the books and docs show it > is so easy, why I am having so many problems? And this noauth thing - > why do I have to add it, when, apparently, no one should need auth except > in special cases? > > I'm a bit taken aback by some of the stuff I need to do to get this up > and running. Especially because I have been hired to write tutorials > about Mandrake for a web site, and need to explain to others how to do > these things. Sure, most things work out ok, but when I see just how > complicated it is to get a simple ppp connection, I am really shocked. > (BTW, it was actually much easier to get my Linux box networked with my > Mac over AppleTalk; definately a power user thing, while a ppp connection > is really a basic). > > > > So, can anyone help? > > > Kirk > > > vice versa > Translations - French to English, English to French | Technical Writing > Traductions francais-anglais, anglais-francais | Redaction technique > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . > [EMAIL PROTECTED]http://www.mcelhearn.com > Kirk McElhearn | Chemin de la Lauze | 05600 Guillestre | France >