ppp0 (urgent)
Hi all!
I need an urgent help!
I try to configure a dial up internet on my other machine. The problem is that I do not have an Ethernet card in it, and so I don't no how could I generate a ppp interface (like ppp0) for the connection, or how could I set up a connection without it.
So far I do these things:
I set up the connection with kppp (I think it is the fastest and easyest way). Then I tried to connect. The "CONNECTION" is done, but the authentication could not be done because ppp0 is not there.
I read pppd manual, but I didn't find anything related to this problem. I tried to generate a ppp0 interface with ifconfig but I couldn't do it without an ethernet card:
# ifconfig ppp0 192.168.0.111 netmask 255.255.255.0 SIOCSIFADDR: No such device ppp0: unknown interface: No such device SIOCSIFNETMASK: No such device ppp0: unknown interface: No such device
my ifconfig is like this:
#ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:214 errors:0 dropped:0 overruns:0 frame:0 TX packets:214 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:14272 (13.9 Kb) TX bytes:14272 (13.9 Kb)
I use Red Hat 7.3 (2.4.18-3 kernel i686),
and a winmodem (which I could use with the help of this List). Tell me what other informations should I tell you.
Do I need an Ethernet card if I need just a one machine dial up Internet connection?
Or are there any other ways?
And if there is some way, what should I do?
Please help (urgently)!
Thanks in advance,
Akos
--------------------------------------------------
http://www.mailbox.hu - Mert levelezni kell...
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
First, you do not need an Ethernet card in your computer to run a ppp connection over a modem.
Second, you do need a modem that Linux can work with. The vast majority of "winmodems" are not such modems, and your identifying yours only as a "winmodem" does not let us figure out if yours happens to be one of the rare exceptions. To find that out, go to this URL and look up your specific modem:
http://www.idir.net/~gromitkc/winmodem.html
Third, you do not "generate" interfaces with ifconfig; you configure existing interfaces with it. It's not the normal way to configure pppX interfaces anyway (I don't even know offhand if it is possible to reconfigure a pppX interface with ifconfig); part of the handskaking done by pppd involves getting an IP address and other settings from the remote end, which pppd uses to configure (usually) ppp0 and update the system's routing table.
I am pretty out of date with actually running pppd -- I last used it a couple of years ago -- but you should just need to supply its companion "chat" program with the information from your ISP that dials and perhaps authenticates you, and/or set up pppd to use CHAP or PAP auehtntication. The details here depends on how your ISP handles ppp connections -- there are no general rules, so don't ask for help on this topics without telling us what your ISP says about how ti does PPP.
Then you can set up pppd either to connect when told to do so manually, to connect on demand (that is, when the system generates TCP/IP traffic), or to try to keep a connection running all the time. (One used to use diald for the latter two options, but I'm pretty sure that newer versions of pppd have autodial capabilities built in.) I'm sure the PPP HowTo still covers all those options ... but if not, or not to your satisfaction, do write here again with the details of what you want to accomplish, what you are trying, and what goes wrong ... once you have determined that you in fact have a modem that Linux can work with.
Quoted 34 lines · Korosi Akos
Hi all!
I need an urgent help!
I try to configure a dial up internet on my other machine. The problem is that I do not have an Ethernet card in it, and so I don't no how could I generate a ppp interface (like ppp0) for the connection, or how could I set up a connection without it.So far I do these things:
I set up the connection with kppp (I think it is the fastest and easyest way). Then I tried to connect. The "CONNECTION" is done, but the authentication could not be done because ppp0 is not there.
I read pppd manual, but I didn't find anything related to this problem. I tried to generate a ppp0 interface with ifconfig but I couldn't do it without an ethernet card:# ifconfig ppp0 192.168.0.111 netmask 255.255.255.0 SIOCSIFADDR: No such device ppp0: unknown interface: No such device SIOCSIFNETMASK: No such device ppp0: unknown interface: No such devicemy ifconfig is like this:
#ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:214 errors:0 dropped:0 overruns:0 frame:0 TX packets:214 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:14272 (13.9 Kb) TX bytes:14272 (13.9 Kb)
Quoted 8 lines
I use Red Hat 7.3 (2.4.18-3 kernel i686),
and a winmodem (which I could use with the help of this List). Tell me what other informations should I tell you.Do I need an Ethernet card if I need just a one machine dial up Internet connection?
Or are there any other ways?
And if there is some way, what should I do?
--
-----------------------------------------------"Never tell me the odds!"--------------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs