Debian lenny networking [Solved]
Debian lenny networking [Solved]
It might sound silly but how do i connect to the net using Debian lenny? With other distros i had no problem of setting up a connection, but in debian all i see is
Ifconfig output
My connection is dail up DSL.
Also i noticed that response time in debian is kinda slow. To fire up terminal it takes 7 seconds everytime i launch it :S Maybe its becouse i don't have video drivers installed yet.
Ifconfig output
My connection is dail up DSL.
Also i noticed that response time in debian is kinda slow. To fire up terminal it takes 7 seconds everytime i launch it :S Maybe its becouse i don't have video drivers installed yet.
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
ok, are you using a direct internet connection ("dialing in" from the computer through the DSL modem) or are you going through a router using DHCP?
in the first case start pppoeconf, it's the configuration application for direct connections where you can enter the provider data.
in the latter case (going through a router) open /etc/network/interfaces and add an entry like this:
or, if you are using a static IP instead of DHCP:
192.168.1.1 is the IP of your computer, 192.168.1.0 is the router IP in this example.
when done editing the file restart networking by:
or reboot...
and yeah, the slow response is most likely caused by the video driver, make sure to install the proper official one from the manufacturer, howtos can be easily found for ATI and nvidia...
in the first case start pppoeconf, it's the configuration application for direct connections where you can enter the provider data.
in the latter case (going through a router) open /etc/network/interfaces and add an entry like this:
Code: Select all
auto eth0
iface eth0 inet dhcp
Code: Select all
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.0
when done editing the file restart networking by:
Code: Select all
/etc/init.d/networking restart
and yeah, the slow response is most likely caused by the video driver, make sure to install the proper official one from the manufacturer, howtos can be easily found for ATI and nvidia...
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
um, I assume you have installed Lenny from DVD? look if pppoeconf is on it:
if it fails you can configure it also manually:
- open /etc/ppp/pap-secrets
- add your connection data, syntax is:
- open /etc/ppp/peers/dsl-provider
- add:
then initiate the connection:
Code: Select all
apt-get install pppoeconf
- open /etc/ppp/pap-secrets
- add your connection data, syntax is:
Code: Select all
"username@yourprovider.com" * "password"
- add:
Code: Select all
user "username@yourprovider.com"
Code: Select all
pon dsl-provider
New pair of shoes
Code: Select all
Oct 5 17:46:12 Cyber pppd[3099]: Plugin rp-pppoe.so loaded.
Oct 5 17:46:12 Cyber pppd[3100]: pppd 2.4.4 started by macross, uid 1000
Oct 5 17:46:12 Cyber pppd[3100]: PPP session is 6645
Oct 5 17:46:12 Cyber pppd[3100]: Using interface ppp0
Oct 5 17:46:12 Cyber pppd[3100]: Connect: ppp0 <--> eth1
Oct 5 17:46:12 Cyber pppd[3100]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Oct 5 17:46:13 Cyber pppd[3100]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Oct 5 17:46:13 Cyber pppd[3100]: Remote message: permission denied
Oct 5 17:46:13 Cyber pppd[3100]: PAP authentication failed
Oct 5 17:46:13 Cyber pppd[3100]: Connection terminated.
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
alright, now make sure the login data is correct and you're set, also make sure the syntax is right (I'm not sure about the usage of quotation marks, so try it with and without).
the general connectivity is already working, it's only your provider that don't let you in because of an error in the syntax or because of a typo)...
the general connectivity is already working, it's only your provider that don't let you in because of an error in the syntax or because of a typo)...
- bad_brain
- Site Owner
- Posts: 11636
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
you're welcome, great it works now....
now edit /etc/apt/sources.list (can also be /etc/apt/sources.list.d/debian.list),
comment out or remove all CD/DVD entries and use those entries for example: http://code.suck-o.com/6286
then, in order to update your system, do:
now edit /etc/apt/sources.list (can also be /etc/apt/sources.list.d/debian.list),
comment out or remove all CD/DVD entries and use those entries for example: http://code.suck-o.com/6286
then, in order to update your system, do:
Code: Select all
apt-get update
apt-get upgrade