Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
How to configure ethernet afterwards?
How to configure ethernet afterwards?
Hello!
Just 2 hours ago, I made an install of Debian (Netinst CD), in the installation, I choosed that I don't have an ethernet card (this relates to my previous post: http://forums.debian.net/viewtopic.php?t=7748).
Now I have the base system (only the commandline), but everytime I try to execute "ifconfig eth0 up" nothing happens, and when I try to do "ifconfig eth0" it shows me there is the Ethernet card. (I have booted without the "pci=off" option)
Could someone tell me how do I configure the Ethernet card so that apt-get could work properly through http/ftp?
Thanks! Any kind of help is very appreciated!
Just 2 hours ago, I made an install of Debian (Netinst CD), in the installation, I choosed that I don't have an ethernet card (this relates to my previous post: http://forums.debian.net/viewtopic.php?t=7748).
Now I have the base system (only the commandline), but everytime I try to execute "ifconfig eth0 up" nothing happens, and when I try to do "ifconfig eth0" it shows me there is the Ethernet card. (I have booted without the "pci=off" option)
Could someone tell me how do I configure the Ethernet card so that apt-get could work properly through http/ftp?
Thanks! Any kind of help is very appreciated!
Debian, a mystery..
Hi, try this this
where:
- X.X.X.X is your IP
- Z.Z.Z.Z is your subnetmask
- Y.Y.Y.Y is your gateway
- J.J.J.J is your first dns
- J2.J2.J2.J2 is your second dns
Good luck
Code: Select all
#ifconfig -a
#ifconfig eth0 down
#ifconfig eth0 X.X.X.X netmask Z.Z.Z.Z up
#route add default gw Y.Y.Y.Y
#echo "nameserver J.J.J.J" > /etc/resolv.conf
#echo "nameserver J2.J2.J2.J2" >> /etc/resolv.conf
- X.X.X.X is your IP
- Z.Z.Z.Z is your subnetmask
- Y.Y.Y.Y is your gateway
- J.J.J.J is your first dns
- J2.J2.J2.J2 is your second dns
Good luck
1. I don't know what my Ethernat card is I have had my old computer for very long (about 10 years) so I don't know what Ethernet card it has nor do I know a bit of hardware to see what it is.
2. I'll post the result later, I'm now a bit busy.
3. I searched the same question on the Ubuntu forums and I suddenly found a solution that if I use "linux pci=off" the CD-ROM gets accesible to be mounted, but then again the OS (Debian) won't detect my Ethernet card, and vice versa, if I don't use "linux pci=off" the CD-ROM doesn't get mounted but my Ethernet card works. This is just driving me crazy especially after thinking that my old buggy Windoze ME would be better
2. I'll post the result later, I'm now a bit busy.
3. I searched the same question on the Ubuntu forums and I suddenly found a solution that if I use "linux pci=off" the CD-ROM gets accesible to be mounted, but then again the OS (Debian) won't detect my Ethernet card, and vice versa, if I don't use "linux pci=off" the CD-ROM doesn't get mounted but my Ethernet card works. This is just driving me crazy especially after thinking that my old buggy Windoze ME would be better
Debian, a mystery..
My /etc/fstab :
Thank you!
My lsmod :# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
And my lspci :Module Size Used by Not tainted
af_packet 11048 1 (autoclean)
soundcore 3268 0 (autoclean)
input 3040 0 (autoclean)
apm 8428 1 (autoclean)
usb-uhci 19504 0 (unused)
usbcore 52268 1 [usb-uhci]
ide-scsi 8272 0
scsi_mod 86052 1 [ide-scsi]
3c59x 23312 1
agpgart 39108 0 (unused)
ide-cd 27072 0
cdrom 26212 0 [ide-cd]
rtc 5768 0 (autoclean)
ext3 65388 1 (autoclean)
jbd 34628 1 (autoclean) [ext3]
ide-detect 288 0 (autoclean) (unused)
piix 7784 1 (autoclean)
ide-disk 12448 2 (autoclean)
ide-core 91832 2 (autoclean) [ide-scsi ide-cd ide-detect piix ide-disk]
unix 12752 196 (autoclean)
Thank you for helping me. If there is anything that you want to know just tell me, I need to get this fixed in order to be satisfied with the Linux world.0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 02)
0000:00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:00:12.0 Multimedia audio controller: Aztech System Ltd 3328 Audio (rev 10)
0000:00:14.0 Ethernet controller: 3Com Corporation 3c590 10BaseT [Vortex]
0000:01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)
Thank you!
Debian, a mystery..
hello! I've got very similar problem... my question is: what should I do if IP in my network is dynamic?Red wrote:Hi, try this thiswhere:Code: Select all
#ifconfig -a #ifconfig eth0 down #ifconfig eth0 X.X.X.X netmask Z.Z.Z.Z up #route add default gw Y.Y.Y.Y #echo "nameserver J.J.J.J" > /etc/resolv.conf #echo "nameserver J2.J2.J2.J2" >> /etc/resolv.conf
- X.X.X.X is your IP
- Z.Z.Z.Z is your subnetmask
- Y.Y.Y.Y is your gateway
- J.J.J.J is your first dns
- J2.J2.J2.J2 is your second dns
Good luck
Hi again Red!
Thank you for sticking to my problem and helping me out. I have installed the new kernel and rebooted (without any extra parameters), but the CD-ROM still doesn't mount. It says:
On the other hand, I made again a fresh install of Debian (Netinst CD). I decided to install IceWM and so I have now only the base system. I searched these forums a little and found some instructions on setting IceWM up, so I decided to apt-get it and test it.
I used this command (logged in as root and booted using "linux pci=off" so Ethernet works) :
After it downloaded all files and installed them (succesfully without errors), I rebooted.
After the reboot, I was excited to see IceWM, the only problem was, XDM wanted to start, but I got only a black screen for 5 seconds and then XDM blasted me back to the base system commandline. I tried to run XDM manually (using root and my own user account) but the same happened. Then I did a apt-get remove xdm and installed gdm (apt-get install gdm) then I rebooted.
Now I was waiting until the system booted and started GDM, but what now? GDM came up with an error message saying that "X is not properly configured" and then it said "I am closing X for you" or something like that. And then I got back again to the commandline.
Just what did I do wrong?
Thank you very much!
Any kind of help is very appreciated!
Thank you for sticking to my problem and helping me out. I have installed the new kernel and rebooted (without any extra parameters), but the CD-ROM still doesn't mount. It says:
And yes, if I reboot using "linux pci=off" the CD-ROM gets mountable, but the Ethernet card doesn't work.mount: wrong fs type, bad option, bad superblock on /dev/hdc, or too many mounted file systems
On the other hand, I made again a fresh install of Debian (Netinst CD). I decided to install IceWM and so I have now only the base system. I searched these forums a little and found some instructions on setting IceWM up, so I decided to apt-get it and test it.
I used this command (logged in as root and booted using "linux pci=off" so Ethernet works) :
Code: Select all
apt-get install xdm x-window-system-core icewm icewm-themes iceme mozilla-firefox
After the reboot, I was excited to see IceWM, the only problem was, XDM wanted to start, but I got only a black screen for 5 seconds and then XDM blasted me back to the base system commandline. I tried to run XDM manually (using root and my own user account) but the same happened. Then I did a apt-get remove xdm and installed gdm (apt-get install gdm) then I rebooted.
Now I was waiting until the system booted and started GDM, but what now? GDM came up with an error message saying that "X is not properly configured" and then it said "I am closing X for you" or something like that. And then I got back again to the commandline.
Just what did I do wrong?
Thank you very much!
Any kind of help is very appreciated!
Debian, a mystery..
Hi,
for the xserver try dpkg-reconfigure xserver-xorg or dpkg-reconfigure xserver-xfree86 . For the question :"Use the frame buffer" or something like this, your answer must be No. For the other problem, show me the output from this:
1. dmesg | grep hd
2. dmesg | grep eth
3. ls -al /media
4. cat -n /etc/fstab
5. cat -n /etc/mtab
I don't think that the linux pci=off is the answer for your problem.
Remove pci=off and show me every line with error (EE)
for the xserver try dpkg-reconfigure xserver-xorg or dpkg-reconfigure xserver-xfree86 . For the question :"Use the frame buffer" or something like this, your answer must be No. For the other problem, show me the output from this:
1. dmesg | grep hd
2. dmesg | grep eth
3. ls -al /media
4. cat -n /etc/fstab
5. cat -n /etc/mtab
I don't think that the linux pci=off is the answer for your problem.
Remove pci=off and show me every line with error (EE)
Thanks for the link, but I don't have the time to download a new ISO and burn it to a new CD. And besides, I don't have much memory.
Here's my full hardware specs: (with 'full' I mean everything that I found in the system that's important)
Here's my full hardware specs: (with 'full' I mean everything that I found in the system that's important)
Monitor: Siemens MCM 171V 17"
Horizontal Frequency: 30-70
Vertical Refresh Rate: 50-120
Processor: Pentium II MMX 350
RAM: 192Mb SDRAM
HDD: 6.5Gb ST36531A IDE
CD Drive: Samsung 32x CD-ROM
Floppy: 1.44Mb Floppy Drive
Sound: Aztech PCI 168 3328
Graphic: ATI 3D Rage Pro (4Mb)
Network: 3Com 3c590 Ethernet
Mouse: PS/2 Optical Mouse
Keyboard: Siemens (Finnish)
Debian, a mystery..
- bluesdog
- Posts: 2077
- Joined: 2006-02-01 09:02
- Location: Similkameen, British Columbia, Canada
- Been thanked: 1 time
If you are using GRUB, you may be able to reset the root password without having to boot from a live cd. (Unless you have password protected GRUB!)
Boot to the GRUB menu, press e (for edit), before the machine has a chance to boot into linux
Move the cursor down one line
Press e again
Press End to move to the end of the kernel line
Add
Press Enter
Press b (for boot)
The computer will now boot to a bash prompt
type
Now type and create a new password.
Now type to restart the machine.
Boot to the GRUB menu, press e (for edit), before the machine has a chance to boot into linux
Move the cursor down one line
Press e again
Press End to move to the end of the kernel line
Add
Code: Select all
init=/bin/bash
Press b (for boot)
The computer will now boot to a bash prompt
type
Code: Select all
mount -n -o remount, rw /
Code: Select all
passwd
Now type
Code: Select all
reboot
Thank you bluesdog for the tip!
I have maybe figured out why I can't get the CD-ROM working.
Let's see, my Ethernet card is PCI and the soundcard too, but my CD-ROM drive not. Perhaps Debian (and other Linuxes) think that my CD-ROM drive is PCI, and when I boot with "linux pci=off" it shuts down the Ethernet card and the soundcard and performs a hardware detection, and it finds out that my primary slave [hd(1,0)] is the CD-ROM and that's why I can get it to work.. (so, my /dev/hdc would be really /dev/hdb)
Could this be connected to my problem? I don't know much of hardware and all I'm saying is just a theory I started to think about last night.
Thanks!
I have maybe figured out why I can't get the CD-ROM working.
Let's see, my Ethernet card is PCI and the soundcard too, but my CD-ROM drive not. Perhaps Debian (and other Linuxes) think that my CD-ROM drive is PCI, and when I boot with "linux pci=off" it shuts down the Ethernet card and the soundcard and performs a hardware detection, and it finds out that my primary slave [hd(1,0)] is the CD-ROM and that's why I can get it to work.. (so, my /dev/hdc would be really /dev/hdb)
Could this be connected to my problem? I don't know much of hardware and all I'm saying is just a theory I started to think about last night.
Thanks!
Debian, a mystery..