philjones85
asked on
Connect to SBC Yahoo directly with PPP in linux
i've already done the initial setup and have my username@sbcglobal.net and password and configured the modem to pass the connection through for PPP on the computer.
i'm running fedora core 5 and it appears that a couple different ppp packages are already installed... i just don't know how to configure them.
i'm really hoping somebody has already done this and can offer step-by-step instructions.
i'm running fedora core 5 and it appears that a couple different ppp packages are already installed... i just don't know how to configure them.
i'm really hoping somebody has already done this and can offer step-by-step instructions.
ASKER
is that for a modem on the pc? the phone line connects to an external modem, which connects to my pc through a network wire. that appears (without trying it) to be configuring a modem in the computer.
also, my computer doesn't have the command "system-config-network". do i need to load a package to get that?
also, my computer doesn't have the command "system-config-network". do i need to load a package to get that?
That's for a modem on the PC....or if you were connecting via an ethernet connection, then you'd select that instead.
If you can install that from your install disc, then it's be a lot easier...but you can configure manually if you want.
ifconfig eth0 up address 192.168.1.10 netmask 255.255.255.0 gateway 192.168.1.254
man ifconfig
for more information. The above example sets your ip to 192.168.1.10, and the gaatemay to ...gues what? ;)
( (()
(`-' _\
'' ''
If you can install that from your install disc, then it's be a lot easier...but you can configure manually if you want.
ifconfig eth0 up address 192.168.1.10 netmask 255.255.255.0 gateway 192.168.1.254
man ifconfig
for more information. The above example sets your ip to 192.168.1.10, and the gaatemay to ...gues what? ;)
( (()
(`-' _\
'' ''
Incidentally, your PC is using an ethernet connection in the last example I gave using ifconfig, not PPP. However, there is loads of pottential for confusion, as your router might be connecting via PPPoA, or PPPoE(over ethernet).
If the above information doesn't help, then it is worth confirming that the network is as follows:
PC----ethernet----->ROUTER ------ADSL (PPPoA,PPP oE)------- >ISP
Where the ROUTER is yours and you have the ability to switch it on and off.
( (()
(`-' _\
'' ''
If the above information doesn't help, then it is worth confirming that the network is as follows:
PC----ethernet----->ROUTER
Where the ROUTER is yours and you have the ability to switch it on and off.
( (()
(`-' _\
'' ''
ASKER
that setup is close to correct with the exception that my router is passing on the (PPPoA,PPPoE) authentication to the computer.
on a windows machine, i was able to set it up following their instructions
control panel -> network settings -> new connection wizard -> ...
i'm assuming linux has software that can mimick this setup.
on a windows machine, i was able to set it up following their instructions
control panel -> network settings -> new connection wizard -> ...
i'm assuming linux has software that can mimick this setup.
Normally it would be:
system-config-network
Which is "Start"->System Settings->Network
Then double click on the appropriate interface and configure as you would for a windows system
But if you haven't installed them, then you need to use themanual approach (ifconfig) mentioned above.
With respect to passing the 'authentication' information through the router, I suspect that you probably don't have anything that expensive, otherwise you wouldn't be asking this question. Effectively, I suspect that you need t oconnect to the router interface (telnet/http?), and enter the username/password in there. It will then do the connecting as required.
( (()
(`-' _\
'' ''
system-config-network
Which is "Start"->System Settings->Network
Then double click on the appropriate interface and configure as you would for a windows system
But if you haven't installed them, then you need to use themanual approach (ifconfig) mentioned above.
With respect to passing the 'authentication' information through the router, I suspect that you probably don't have anything that expensive, otherwise you wouldn't be asking this question. Effectively, I suspect that you need t oconnect to the router interface (telnet/http?), and enter the username/password in there. It will then do the connecting as required.
( (()
(`-' _\
'' ''
ASKER
the router is most definitely not expensive, its a cheap router from sbc for a home dsl setup. in a typical setup, the router will "dial in", authenticate the connection (PPP), and receive network information dynamically (ip, subnet, dns, etc.) from sbc. the router will then take this external ip address and setup itself up as a default gateway/dhcp server on an internal network. the problem with this is, i want my computer to take this external ip address to use it as a server. theoretically, i could establish port forwarding within the router, but there's additional reasons why i'd prefer to not do it this way
an option in the router is to not use the router as a router and to not use the router to authenticate, but instead to basically just pass the information through the router and allow the computer to do the authentication and recieve the dynamic network information. in windows this is done through the way i (not very specifically) mentioned above. i'm looking for a similar way to do this in linux.
i looked at "Start"->System Settings->Network, but i don't believe this will do what i need. it doesn't seem to have the options to set this up. i'm under the impression that i have to use a PPP client, but i don't know how to configure one.
an option in the router is to not use the router as a router and to not use the router to authenticate, but instead to basically just pass the information through the router and allow the computer to do the authentication and recieve the dynamic network information. in windows this is done through the way i (not very specifically) mentioned above. i'm looking for a similar way to do this in linux.
i looked at "Start"->System Settings->Network, but i don't believe this will do what i need. it doesn't seem to have the options to set this up. i'm under the impression that i have to use a PPP client, but i don't know how to configure one.
That makes a little more sense, HOWEVER, it is probably that this is only possible for you *IF* you have a fixed IP address. In which case, the IP address need to be preset on the Linux PC, and the router behaves transparently...effectivel y forwarding every port (Which is exactly what it is doing).
The problem is that the router receives the IP address/DNS info etc in a dynamic IP environment and needs to transfer this infor to the Linux system. Unfortunately, I'm not aware of any way of doing quite what you want.
Can you provide as much detail about the router as possible, and seeif any of the other experts can assist.
Personally, I'd stick with port forwarding as it provides an additional layer od security between you and the outside world.
( (()
(`-' _\
'' ''
The problem is that the router receives the IP address/DNS info etc in a dynamic IP environment and needs to transfer this infor to the Linux system. Unfortunately, I'm not aware of any way of doing quite what you want.
Can you provide as much detail about the router as possible, and seeif any of the other experts can assist.
Personally, I'd stick with port forwarding as it provides an additional layer od security between you and the outside world.
( (()
(`-' _\
'' ''
ASKER
i know its possible to do b/c it works fine with windows. the linux machine should be able to negotiate the authentication and dynamically receive the ip address. they problem is configuring the machine to do this. everything i've researched on my own leads me to believe this requires PPP client software running on linux, but i can't figure out how to configure it.
this looks like its what i need to do, but doesn't seem to work.
http://users.dslextreme.com/~craig.lawson/linux_notes/dsl.html#Starting_pppd
am i on the wrong path with this?
this looks like its what i need to do, but doesn't seem to work.
http://users.dslextreme.com/~craig.lawson/linux_notes/dsl.html#Starting_pppd
am i on the wrong path with this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
/lib/modules/2.6.15-1.2054 _FC5/kerne l/net/atm/ pppoatm.ko
/lib/modules/2.6.15-1.2054 _FC5/kerne l/drivers/ net/ppp_de flate.ko
/lib/modules/2.6.15-1.2054 _FC5/kerne l/drivers/ net/ppp_mp pe.ko
/lib/modules/2.6.15-1.2054 _FC5/kerne l/drivers/ net/ppp_as ync.ko
/lib/modules/2.6.15-1.2054 _FC5/kerne l/drivers/ net/ppp_ge neric.ko
/lib/modules/2.6.15-1.2054 _FC5/kerne l/drivers/ net/ppp_sy nctty.ko
/lib/modules/2.6.15-1.2054 _FC5/kerne l/drivers/ net/pppoe. ko
/lib/modules/2.6.15-1.2054 _FC5/kerne l/drivers/ net/pppox. ko
router is a Siemens Speadstream 4100
99% sure its PPPoE
/lib/modules/2.6.15-1.2054
/lib/modules/2.6.15-1.2054
/lib/modules/2.6.15-1.2054
/lib/modules/2.6.15-1.2054
/lib/modules/2.6.15-1.2054
/lib/modules/2.6.15-1.2054
/lib/modules/2.6.15-1.2054
router is a Siemens Speadstream 4100
99% sure its PPPoE
ASKER
ok, just read about a script called "adsl-setup". works perfectly. asks for all the parameters that i have(username, password,ethX, etc) and configures linux to connect through ppp.
# adsl-setup
follow prompts
# adsl-start
and you're good to go.
hopefully this will be helpful to somebody else. copy and paste this as the solution and i'll accept it as the answer so its indexable to future web surfers.
# adsl-setup
follow prompts
# adsl-start
and you're good to go.
hopefully this will be helpful to somebody else. copy and paste this as the solution and i'll accept it as the answer so its indexable to future web surfers.
system-config-network
select modem device
Configure settings:
Probably /dev/stty0, 9600, Harware control. Check modem manual if there are problems. ( I hope this is a harware modem? - If not, then you need to read this:
http://www.tldp.org/HOWTO/Linmodem-HOWTO.html
)
Fill in tel no details + username+password
Select automatically obtain IP and DNS from provider.
Finished:)
( (()
(`-' _\
'' ''