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
  •  


VINTAGE  RARE Overland 9 Track tape drive for mainframe computer storage picture

VINTAGE RARE Overland 9 Track tape drive for mainframe computer storage

$800.00



IBM MST-2 370 Integrated Circuit Computer Chips Lot Of 43 Rare 1970s Vintage picture

IBM MST-2 370 Integrated Circuit Computer Chips Lot Of 43 Rare 1970s Vintage

$249.00



Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25 picture

Vintage Telex 952003-112 Mechanical Terminal Keyboard IBM 3270 Mainframe DB25

$679.15



HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer picture

HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer

$236.55



Vintage Sperry Rand Univac Mainframe Control Board Gold IC Rare Piece Of History picture

Vintage Sperry Rand Univac Mainframe Control Board Gold IC Rare Piece Of History

$289.95



Vintage IBM #192726 Paper Tape Punch Mainframe Computer Programming Tool 1960s picture

Vintage IBM #192726 Paper Tape Punch Mainframe Computer Programming Tool 1960s

$94.95



Vtg IBM Mainframe Prototype Chip Module Lot 146 pc 1988-1993 ES/9000 Lab Arcive picture

Vtg IBM Mainframe Prototype Chip Module Lot 146 pc 1988-1993 ES/9000 Lab Arcive

$649.00



Vintage Cullinet IDMS IBM Mainframe Magnetic Tape Reel Software 1980s JCL picture

Vintage Cullinet IDMS IBM Mainframe Magnetic Tape Reel Software 1980s JCL

$98.99



SONY VAIO PCV-C12L Pentium 4 3GHz 3GB 120GB SSD NO/OS Retro Desktop Vintage PC picture

SONY VAIO PCV-C12L Pentium 4 3GHz 3GB 120GB SSD NO/OS Retro Desktop Vintage PC

$129.97



MPC ClientPro 545 Pentium 4 2.40GHz 512MB NO/HDD RV100 Vintage PC Retro Computer picture

MPC ClientPro 545 Pentium 4 2.40GHz 512MB NO/HDD RV100 Vintage PC Retro Computer

$149.97