Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Puzzling Network Problem on HD Installation - Sudden Stop

  1. #1
    Junior Member registered user Weevil's Avatar
    Join Date
    Jul 2003
    Posts
    18

    Puzzling Network Problem on HD Installation - Sudden Stop

    I had my Knoppix box up and running just fine, then shut the machine off and went on vacation for a few days. When I came home and turned it back on, it would not see my network, always comes up with that default IP address of 169.254.103.69 that a card gets if it is all alone in the world.

    Now, booting from the Knoppix CD, I can connect just fine, so the hardware isn't the problem.

    I haven't changed anything that I know of, but no combination of changes to /etc/networking/interfaces or other config files has helped.

    I like to run this box with a fixed IP, but setting it to use static or dhcp I get the same result.

    I'm not sure how to diagnose it or what tools to use to try to figure it out. I haven't done much with this machine since I built it, so I could consider a reinstall, but I'd really rather not.

    How can I figure out what's wrong?

    Posting config info and stuff will be sort of tough since the thing is offline, but I can reboot from the CD and copy the files at least.

    Thanks in advance...

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    What does ifconfig -a tell you? Does the box even see eth0? If so does it have an i.p. address? If it has an i.p. can you ping inside your LAN? Outside?

  3. #3
    Junior Member registered user Weevil's Avatar
    Join Date
    Jul 2003
    Posts
    18
    Quote Originally Posted by mzilikazi
    What does ifconfig -a tell you? Does the box even see eth0? If so does it have an i.p. address? If it has an i.p. can you ping inside your LAN? Outside?
    Thanks for the reply.

    Yes, the interface comes up, but it comes up the "generic" IP address of 169.254.103.69. Otherwise gateway, mask, etc., appear to be set correctly (it would hurt my head to try to type the whole thing out between KVM'd boxes :P)

    My internal network is 192.168.1.0, and the static ip for this box is supposed to be 192.168.1.200. When Knoppix boots from CD, it finds my router and gets the next DHCP address. When I boot from the hard disk, it doesn't find the network whether set for static or dhcp.

    It's really puzzling. It's a brand new build, so I could reinstall without losing any work, but I would really prefer to figure it out in case it happens again. Are there some magical configuration steps that Knoppix goes through in an HD install boot? I tried editing a couple of things in knoppix-autoconfig (disabling pump) from something I saw here, but that didn't help.

    I get the message:

    SIOCDELRT: No such process

    when I try to do things with the interface or with route. I've searched on this a lot and found lots of things to try, but so far it has kept me stumped.

  4. #4
    Junior Member registered user Weevil's Avatar
    Join Date
    Jul 2003
    Posts
    18

    Fixed!

    I'm still not sure what went wrong, but I decided it was time for a little head banging until I figured it out.

    The last thing I did was down the network services and unload the ne2k-pci module (have a Winbond W89C940 card), then reloaded the module and restarted networking and it got the right IP address - I'm posting from my Knoppix box right now.

    Okay, so now I have a solution, but I'm not sure I understand the problem. The ne2k-cpi module was loaded, as it should have been, but it almost seems like networking was being brought up before the module was loaded (although modconf shows it installed in the kernel).

    I guess I'll see on the next reboot if it stays straight or goes south again. At least for the moment I'm back online.

  5. #5
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    It's possible that the driver needs to be unloaded before the card is brought down so that it comes up again properly on next boot. Simply add something to your init scripts to rmmod the driver.

  6. #6
    Junior Member registered user Weevil's Avatar
    Join Date
    Jul 2003
    Posts
    18
    Quote Originally Posted by mzilikazi
    It's possible that the driver needs to be unloaded before the card is brought down so that it comes up again properly on next boot. Simply add something to your init scripts to rmmod the driver.
    That's a thought. Still puzzles me that it started misbehaving in the first place. All I can figure is that maybe I ran a dist-upgrade that touched something I didn't know about, and didn't show up until the next boot. I don't reboot often, so there's no telling where it went south along the way.

  7. #7
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Weevil

    Read my post, might help you
    http://www.knoppix.net/forum/viewtop...046&highlight=

  8. #8
    Junior Member registered user Weevil's Avatar
    Join Date
    Jul 2003
    Posts
    18
    Quote Originally Posted by shah
    Weevil

    Read my post, might help you
    http://www.knoppix.net/forum/viewtop...046&highlight=
    I believe I had read your post before, because I had tried this trick already, without success. When I reboot I have no network.

    I'm looking for the right place to put my restart lines, but haven't found it yet. Here's what works:

    ifconfig eth0 down
    /etc/init.d/networking stop
    rmmod ne2k-pci
    insmod ne2k-pci
    ifconfig eth0 up
    /etc/init.d/networking start

    Trying to put it in Knoppix autoconfig doesn't seem to be the right way to go about this. I think I'll just have to add my own startup script to kick in late and drop these commands in it, unless there's a more "standard" place to put it.

  9. #9
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Weevil

    I didn't edit my knoppix-autoconfig either even though it's working for me, I just restart my networking for second time and it's working. I have static I.P everytime.
    What I did was adding a symlink to networking:
    On /etc/rcS.d I add S40networking.

  10. #10
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    I missed you lines:
    ifconfig eth0 down
    /etc/init.d/networking stop
    rmmod ne2k-pci
    insmod ne2k-pci
    ifconfig eth0 up
    /etc/init.d/networking start

    Yes that will work. Create a script with those line using your prefered name ex: mynet.sh save it in /etc/init.d or you just can save in rc5.d .
    1) If you save in /etc/init.d then you need to create a symlink to that file in rc5.d
    2) If you save directly in rc5.d, the name should change to something like S60mynet.sh or something which reflect your boot order.

    I hope this time it will work.

Page 1 of 2 12 LastLast

Similar Threads

  1. sudden loss in partition?
    By dark_mage in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 11-29-2005, 04:53 PM
  2. sudden hdd loss
    By Akizok in forum General Support
    Replies: 0
    Last Post: 04-23-2005, 07:30 AM
  3. /var/log/messages full of network crap, how to stop?
    By mightydavefish in forum Networking
    Replies: 1
    Last Post: 08-30-2004, 09:34 AM
  4. Puzzling hard drive behavior
    By Larzp in forum General Support
    Replies: 2
    Last Post: 07-13-2004, 12:33 PM
  5. installation seems to stop in password root screen
    By bronstein in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 08-29-2003, 11:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Crucial MX500 1TB 2.5

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1

$102.99



Samsung 2.5

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot

$90.00



Samsung 860 EVO 250GB SSD MZ-76E250 2.5

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive -

$39.99



Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot picture

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot

$49.00



Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD picture

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD

$129.99



Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health picture

Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health

$24.00



Samsung 850 EVO MZ-75E250 250 GB 2.5 in SATA III Solid State Drive picture

Samsung 850 EVO MZ-75E250 250 GB 2.5 in SATA III Solid State Drive

$24.99



2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON picture

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON

$28.00



Samsung 850 PRO 512GB 2.5

Samsung 850 PRO 512GB 2.5" SATA SSD MZ-7KE512 MZ7KE512

$65.00



Samsung New SSD 970 EVO Plus 2TB 1TB 500GB 250GB NVMe M2 Internal Hard Drive Lot picture

Samsung New SSD 970 EVO Plus 2TB 1TB 500GB 250GB NVMe M2 Internal Hard Drive Lot

$79.99