Solved

Connect to SBC Yahoo directly with PPP in linux

Posted on 2006-06-25
12
326 Views
Last Modified: 2013-12-06
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.




0
Comment
Question by:philjones85
  • 6
  • 6
12 Comments
 
LVL 22

Expert Comment

by:pjedmond
ID: 16982281
As root:

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:)

(   (()
(`-' _\
 ''  ''
0
 
LVL 6

Author Comment

by:philjones85
ID: 16983162
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?
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 16983288
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? ;)

(   (()
(`-' _\
 ''  ''
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 16983317
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,PPPoE)------->ISP

Where the ROUTER is yours and you have the ability to switch it on and off.

(   (()
(`-' _\
 ''  ''
0
 
LVL 6

Author Comment

by:philjones85
ID: 16986015
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.
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 16986271
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.

(   (()
(`-' _\
 ''  ''
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 6

Author Comment

by:philjones85
ID: 16986426
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.
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 16986781
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...effectively 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.

(   (()
(`-' _\
 ''  ''
0
 
LVL 6

Author Comment

by:philjones85
ID: 16987180
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?
0
 
LVL 22

Accepted Solution

by:
pjedmond earned 500 total points
ID: 16987325
No - you are not on the wrong path - that link looks remarkably promising.....*BUT* it is very old in kernel terms.

There's a major problem here that Redhat dropped a whole load of kernel modules in the FC4 / RHEL 4 distribution. The question now is can the module be identified, and if so, will it work with that particular router.

Can you give me the output on your system to:

find /lib/modules/ | grep -i PPP

to see if you have a PPPoE module in your distribution.

Also, when the router connects normally, does it use PPPoATM or PPPoE. This looks as if it should be possible.

Can you also provide details of your router (make/model etc)

(   (()
(`-' _\
 ''  ''
0
 
LVL 6

Author Comment

by:philjones85
ID: 16988674
/lib/modules/2.6.15-1.2054_FC5/kernel/net/atm/pppoatm.ko
/lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_deflate.ko
/lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_mppe.ko
/lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_async.ko
/lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_generic.ko
/lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/ppp_synctty.ko
/lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/pppoe.ko
/lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/pppox.ko

router is a Siemens Speadstream 4100

99% sure its PPPoE
0
 
LVL 6

Author Comment

by:philjones85
ID: 16989227
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.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now