LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 09-17-2004, 11:21 AM   #1
Mathsniper
Member
 
Registered: Aug 2004
Posts: 135

Rep: Reputation: 15
Auto connect to internet....


I had been configured these file at "/etc/"

1)host
-------------------------------------------------------------
### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT.

127.0.0.1 localhost
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

202.175.3.8 vassun2.macau.ctm.net

### END OF DEBCONF AREA. PLACE YOUR EDITS BELOW; THEY WILL BE PRESERVED.
-------------------------------------------------------------
2)hostnames
-------------------------------------------------------------
vassun2.macau.ctm.net
-------------------------------------------------------------
3)modules
-------------------------------------------------------------
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a "#", and everything on the line after them are ignored.

ide-cd
ide-generic
sd_mod
apm
3c59x

-------------------------------------------------------------
4)resolv
-------------------------------------------------------------
nameserver 202.175.3.8
nameserver 202.175.3.8
-------------------------------------------------------------
the red color represent that i modify the data.
the problem is that, I had been configured it. then it didn't need though KPPP to connect to internet. Then i can connect to internet to surf website!!! I wanna though KPPP(what time i wanna connect) to connect. How should i do?! (I'm using the ethernet of 3CSOHO100B-TX of 3Com, Distribution: Debian Sarge)

Last edited by Mathsniper; 09-18-2004 at 07:40 AM.
 
Old 09-18-2004, 01:29 AM   #2
Mathsniper
Member
 
Registered: Aug 2004
Posts: 135

Original Poster
Rep: Reputation: 15
I live in China,Macau. could anyone tell me how to do?
thanks.
 
Old 09-18-2004, 06:21 AM   #3
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
what really you want to do? Internet connection from CLI?
Im bit confuse hehe
which distro you are using , what type of internet connectivity you have dialup DSL blah blah?

if you are using slackware then use pppsetup, for rd use wvdial....

regards
 
Old 09-18-2004, 07:39 AM   #4
Mathsniper
Member
 
Registered: Aug 2004
Posts: 135

Original Poster
Rep: Reputation: 15
I'm using Debian
 
Old 09-18-2004, 07:47 AM   #5
Mathsniper
Member
 
Registered: Aug 2004
Posts: 135

Original Poster
Rep: Reputation: 15
I wanna connect to internet though KPPP. That is, I can connect to internet but not automatic. Please help me. Thanks!
 
Old 09-18-2004, 10:28 AM   #6
Mathsniper
Member
 
Registered: Aug 2004
Posts: 135

Original Poster
Rep: Reputation: 15
"ifconfig" info.
Code:
eth0      Link encap:Ethernet  HWaddr 00:04:75:B3:F8:EA
          inet6 addr: fe80::204:75ff:feb3:f8ea/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5782 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:6685 dropped:0 overruns:0 carrier:13335
          collisions:0 txqueuelen:1000
          RX bytes:2662522 (2.5 MiB)  TX bytes:0 (0.0 b)
          Interrupt:22 Base address:0xd800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:394 errors:0 dropped:0 overruns:0 frame:0
          TX packets:394 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:25652 (25.0 KiB)  TX bytes:25652 (25.0 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:202.175.72.188  P-t-P:202.175.100.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:5499 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6319 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:2524485 (2.4 MiB)  TX bytes:659810 (644.3 KiB)
 
Old 09-19-2004, 05:45 AM   #7
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
i duno much about debian however wvdial must be aviable on debian too coz its open source..
If it is not there then download it.

wvdial configuration is very easy. as I remembered first you have to run
#wvdialconf /etc/wvdial.conf (however you must check the man pages)
This will creates a wvdial.conf in /etc , open it with your fav. text editor and there you have to uncomments the lines for your ISP dialup number, username and password.
Now its time to check it
#wvdial (remember as root)
this will dial your ISP, if everything in wvdial.conf is okay then you would be connected otherwise double check teh conf file.
Okay if this works then its easy to dial it automatically on each restart and im should sure you know how?

put the wvdial command in one of your startup script probably rc.local , however I duno what rc.local called on debian

fullpath/wvdial

regards
 
Old 09-24-2004, 11:59 AM   #8
Mathsniper
Member
 
Registered: Aug 2004
Posts: 135

Original Poster
Rep: Reputation: 15
I can't find this configuration....
 
Old 09-24-2004, 12:23 PM   #9
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
google for wvdial
 
  


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
eth0 Auto Connect, How to auto start on logon cornish Linux - Networking 2 05-09-2005 01:02 PM
Connect ssh with auto auth Drunkalot Linux - Networking 1 01-19-2005 07:43 AM
auto detect disconnect / connect vb7prog Linux - Networking 1 11-18-2004 04:26 AM
Auto-Connect to internet on boot marsonist Linux - Software 4 06-06-2003 03:27 PM
auto connect rocktap Linux - Newbie 5 06-06-2002 05:36 PM


All times are GMT -5. The time now is 10:33 AM.

Main Menu
Advertisement
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