View Full Version : Debian problems
locutus24
03-26-2005, 06:00 PM
I attempted the install on it but continued to get errors when reading packages from the disk, so now i want to use apt to get the packages that i need. Problem is that my eth0 seems to not be correctly configured, so now im trying to figure out how to properly set-up the eth0 cause im using a dsl modem with an ethernet connection. Im in /etc/network/ looking around at the options but nothing is helping, i tried how-to's on Debian.org those didnt help much either.
So could you please help me out here
Bullitt
03-26-2005, 08:16 PM
Does your DSL require a PPPoE connection or is it bridged? (plug 'n' play) ?
If its bridged, its pretty easy to get everything config'd.
Static IP you will need your IP address, gateway, and snet mask, but my example will assume you run DHCP (automatic IP config, pretty popular)
Back up the existing interfaces file "cp interfaces interfaces.bak"
The interfaces are in "stanzas" so make sure the lo and the eth0 stanzas look like this:
/etc/network/interfaces file:
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
once thats put in, go to /etc/init.d and do a "./networking restart" command and verify by "ifconfig"
locutus24
03-26-2005, 08:49 PM
Yes im using DHCP, and thank you for the help much appreciated. Now to figure out how to masquerade that connection to my win xp box, only way to protect windows is with linux covering up for it. I bet there are some good how-tos on IP masquerading
locutus24
03-26-2005, 09:45 PM
How do i add apt sources to the /etc/apt/sources.list file, i tried what it said on the debian site but that doesnt work or am i just messing stuff up by.
Bullitt
03-26-2005, 10:05 PM
I'll share my apt/sources.list with ya. I run unstable b/c I like the everyday christmas presents :D
deb http://mirrors.rcn.net/debian/ unstable main non-free contrib
deb-src http://mirrors.rcn.net/debian/ unstable main non-free contrib
deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
deb http://debian.secsup.org/ unstable main non-free contrib
deb-src http://debian.secsup.org/ unstable main non-free contrib
deb http://mirrors.kernel.org/debian/ unstable main non-free contrib
deb-src http://mirrors.kernel.org/debian/ unstable main non-free contrib
Replace the unstable with stable or testing (whatever you want to run) and save and exit.
Those mirrors are pretty fast (800KB/sec from my home connection) and kept up-to-date.
They're on the list, just waaayy far down ;)
locutus24
03-26-2005, 10:18 PM
E: 'ftp.debian.org' is not known in on line 5 in sources list /etc/apt/sources.list
E: The list of sources could not be read.
Where am i going wrong i entered the ftp and http addresses perfectly, wtf is the problem im getting frustrated to hell and back.
I did configure my DHCP in the networking script area, ifconfig checked out so i know that i have a good connection.
Im using Debian 3.0 r4 so would that be considered stable
And thank you for any help
Bullitt
03-26-2005, 11:52 PM
Replace your apt sources with mine, but where mine say "unstable" make those "stable"
Run an apt-get update from there.
If you still get errors, check the /etc/resolv.conf file for a nameserver entry. You may need to grab one from your ISP (check their web-page for DNS server numbers to plug in).
locutus24
03-27-2005, 01:10 AM
After a dozen trial and error scenarios it comes out that my dhcp dsl needs to route through my hub, cause now i got my win box and deb sharing the hub. APT is downloading the necesary packages, so thank you guys for all your help im hoping to not bother you for a while.
Bullitt
03-27-2005, 03:44 AM
sounds like you just had a cabling problem. At least its worked out for ya man. enjoy!
AdamW
03-27-2005, 11:30 AM
So how are you finding Debian compared to MDK so far?
locutus24
03-27-2005, 11:30 AM
Well really dont want to say it, but my apt packages were full of errors after i downloaded them off of the ftp so none worked out. I have 4cds of Debian and i tried those as my source media, then again i got errors now im thinking its the hd cause this setup is old. A P2 and an old 8gb drive, but its a WD caviar so i trust it to last.
Im going to find something more minimal, cause i only need a distro that will IP masquerade and act as a hardware firewall.
AdamW
03-27-2005, 11:32 AM
There's several distros expressly designed for that kinda job, take a look at smoothwall for starters...
locutus24
03-27-2005, 11:33 AM
Last night i went through everyone IPCOP, smoothwall, monowall, redwall, suse, mdk, debian, slackware, now im on sme
AdamW
03-27-2005, 11:35 AM
wow, get some sleep :D
locutus24
03-27-2005, 11:38 AM
2' in the morning hacking away, i went through the entire distrowatch list found some intruiguing distro's anybody use nature linux. SME is working we got an install rolling, but that doesnt always mean success :cool: I want some bawls
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.