LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-14-2003, 09:54 AM   #1
BearClaw
Member
 
Registered: Jun 2003
Location: USA
Distribution: Slackware-Current
Posts: 90

Rep: Reputation: 15
Cmd for connecting to internet?


Would someone, please, tell me what the cmd is for connecting to the internet? I use an external-modem (ppp0). Slack-9.

I'm trying out blackbox and need to know the cmd to start ppp0.

Thanks alot, BC
 
Old 07-14-2003, 10:11 AM   #2
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
Are you using wvdial? If so and if everything is configured correctly:

/sbin/ifup ppp0
/sbin/ifdown ppp0

These commands should connect and disconnect the modem.

To configure wvdial, command:

wvdialconf /etc/wvdial.conf

Edit the resulting /etc/wvdial.conf file with the proper dialup info and check your /etc/resolv.conf for the nameservers:

domain yourisp.com
nameserver 555.55.55.5555
nameserver 555.5.555.5
 
Old 07-14-2003, 10:17 AM   #3
BearClaw
Member
 
Registered: Jun 2003
Location: USA
Distribution: Slackware-Current
Posts: 90

Original Poster
Rep: Reputation: 15
I'm using kppp. That's where I configured the connection. Would those cmd's work by modifying to kppp?

Thanks, BC
 
Old 07-14-2003, 10:25 AM   #4
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
I have never had much luck with kppp.

# Modem and connection troubleshooting
Modem NHFs
Modem HOWTO
The kppp Handbook
Dial-up Networking Configuration Using KDE's Kppp
Troubleshooting ISP Connection Problems
 
Old 07-14-2003, 10:28 AM   #5
BearClaw
Member
 
Registered: Jun 2003
Location: USA
Distribution: Slackware-Current
Posts: 90

Original Poster
Rep: Reputation: 15
Could I setup wvdial and it not messup my kppp setup?

TIA, BC
 
Old 07-14-2003, 10:29 AM   #6
reclusivemonkey
Member
 
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167

Rep: Reputation: 30
Re: Cmd for connecting to internet?

Quote:
Originally posted by BearClaw
Would someone, please, tell me what the cmd is for connecting to the internet? I use an external-modem (ppp0). Slack-9.

I'm trying out blackbox and need to know the cmd to start ppp0.

Thanks alot, BC
Hello BearClaw,

I don't know whether this will work for you as I am in england, but what the heck. I used pppsetup to configure ppp dialing. There is an ncurses screen very similar to the pkgconfig one which will ask a few questions about your setup and ISP (most importantly the number to ring, DNS and username/password). Don't be tempted to change the default modem init string. I did this initially and it wouldn't work for me (I had had to use minicom to get the dial string for kppp to work), so just accept the values it gives you. You can then start ppp with 'ppp-go' at the terminal, or map it to a button somewhere (I have mine on GKrellM) and then close the connection with 'ppp-stop'. I've not yet got it to work as a user (I hate permissions :-/), so I log in as root, start 'ppp-go -d', then gdm to my user. 'ppp-go -d' will start ppp on a "demand dial" which will automatically connect and disconnect as needed. Not a very technical explanation I know, I am sat in front of a winbloze box at work :-( I thought I would reply as I know wvdial isn't on a standard Slackware 9.0 install and ppp dialing is great once you have got it working. Good luck!

munkeh
 
Old 07-14-2003, 10:48 AM   #7
BearClaw
Member
 
Registered: Jun 2003
Location: USA
Distribution: Slackware-Current
Posts: 90

Original Poster
Rep: Reputation: 15
Thanks, fp & rm.

I went through the pppsetup in about 30 seconds, then #ppp-go" did the trick(grin).

Thanks again, guys, BC
 
Old 07-14-2003, 10:49 AM   #8
iantri
Member
 
Registered: Jul 2003
Posts: 38

Rep: Reputation: 15
Hello -- if you are using KPPP you have to use KPPP to dial from blackbox too. You can launch it from blackbox, but it will be slow without the KDE libraries already loaded (as if you were running KDE).

Try wvdial, which happens to be very easy to use, or as the previous reply says (and this works in North America, I am Canadian and have no trouble with it) run pppsetup to configure things and then use ppp-go to dial and ppp-off to disconnect. All as root of course, unless you change the permissons to allow other accounts to access the modem device (not the symlink, the actual device, ie /dev/ttyS1), and possibly these scripts.

Wvdial and KPPP do not interfere with each other. They are both basically front-ends to ppp (the program) and are responsible for dialling up and passing the correct parameters to ppp. the ppp-go and ppp-off scripts are the same too, but much more crude.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 04:29 PM
help connecting to internet thomasjor Linux - Networking 6 09-04-2004 09:48 PM
Connecting to the internet abiagi Linux - Newbie 81 01-27-2004 08:02 PM
Connecting to the internet thru XP luketheduke Red Hat 4 11-22-2003 07:20 PM
Connecting to the Internet ToeShot Linux - General 2 12-13-2001 09:26 AM


All times are GMT -5. The time now is 11:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration