Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need guide to loading NIC driver on startup and configuring to work with DHCP...

Featured Replies

I'm too much of a Linux noob. 

In http://lime-technology.com/forum/index.php?topic=495.msg3305#msg3305 limetech(Tom) directed me to

Try typing this:

modprobe sk98lin
ifconfig eth0

 

and that does load the NIC driver, but I need further guidance as far as how to add the driver to startup and make sure it's enabled with DHCP and so on.  Please halp!  :-[

  • Author

This is pretty discouraging.  I like the idea of this product and would probably purchase it, but I can't get past "Step 1" here: configuring the supported NIC so it will do DHCP on startup so I can then access the web based GUI..  Is there no guide that someone can link me to or create?  I'm not stupid or unable to follow directions and have played around with Linux before...

 

Thank whichever kind soul takes the trouble to help..

In the config folder there is a "go" script.

 

Edit it to add the two lines Tom suggested you try just prior to the line that invokes emhttp 

(Just prior to the last line in the file)

 

Then... type: mdcmd stop

Then shut power off and reboot.  Odds are the driver will get loaded.

 

modprobe sk981in

ifconfig eth0

 

 

Edit: to change "cmd" to "mdcmd"

  • Author

OK, I modified the "go" script to look like this:

#!/bin/bash
modprobe sk98lin
ifconfig eth0
# Start the Management Utility
/usr/local/sbin/emhttp &

 

...but upon boot, nothing appeared to change.  Nor did typing "cmd stop" at the console do anything - I got command not found or somesuch.

I checked /var/log/syslog and nothing appeared to reference the NIC, though there was a basic message about loading NET4 sockets.

 

Just so it's clear, Tom had directed me to

modprobe sk98lin

which did load up the NIC driver.... I know this because then I can type

ifconfig eth0 up 

and see basic info about that interface - though I couldn't figure out how to get DHCP working.

 

This is boggling my mind how complicated this fundamental step seems to be....  Thank you for your help Joe.

 

In the config folder there is a "go" script.

 

Edit it to add the two lines Tom suggested you try just prior to the line that invokes emhttp 

(Just prior to the last line in the file)

 

Then... type: cmd stop

Then shut power off and reboot.  Odds are the driver will get loaded.

 

modprobe sk981in

ifconfig eth0

  • Author

Well, I have got everything working - temporarily at least, via typing this at the prompt:

modprobe sk98lin
ifconfig eth0 inet dhcp

 

Though I am doubtful that upon reboot the NIC driver module will load on its own...  :\

Good news.

 

Sorry abbout the "cmd stop" not being a valid command.  I'm pretty sure it was valid in version 2.x of unRaid.

 

Glad you got things working with your network card. If you put those exact two commands in the "go" script I don't see why it woud not load the network card module on its own the next time it boots.

 

Joe L.

  • Author

Okay, update.  I now realize that the problem is that my flash key is not fully mounting and therefore the network.cfg etc are not being read, similar to the problem here: http://lime-technology.com/forum/index.php?topic=333.msg2329#msg2329

Formatting as fat rather than fat32 got me nowhere however.  I also found Joe's trials and tribulations here: http://lime-technology.com/forum/index.php?topic=359.msg2592#msg2592

and I've tried the 3.31 version of syslinux with no success.  The step I am working on now is setting up Ubuntu via VMWare in the hopes that I will be able to use Linux fdisk to format the flash key in the way Joe L. did.  I am using a Sandisk Cruzer micro with a Asus K8V SE Deluxe btw, if anyone has suggestions other than what has been detailed in the two posts I referenced above, I'd appreciate you letting me know! :)

-Rasputinreborn

 

I'm sorry but this is driving me freaking mad - as I feared, upon reboot neither the NIC nor settings stayed configured. 

 

Adding those lines to the "go" file does naught.  Even worse than that, now I cannot even get to where I was before by typing in these commands manually!  When I type ifconfig eth0 up inet dhcp I keep getting "Host name lookup failure" and typing ifconfig -a after that results in

Link encap:Ethernet  HWaddr: blah

UP BROADCAST RUNNING MULTICAST  blah blah  without getting an IP address.  I've also tried manually editing the network.cfg file for a static IP and the same thing results, I assume because the NIC driver isn't loading on startup?

I've tried formatting  the flash key and reinstalling Unraid from scratch twice.

This is just getting stupid silly  :P

 

 

Good news.

 

Sorry abbout the "cmd stop" not being a valid command.  I'm pretty sure it was valid in version 2.x of unRaid.

 

Glad you got things working with your network card. If you put those exact two commands in the "go" script I don't see why it woud not load the network card module on its own the next time it boots.

 

Joe L.

before you do try vmware, have you tried using the HP formatting tool Tom gave a link to???

 

Most people have found that that does the trick, although I've also read of some that said some flash drives come loaded with software that is not removed with a re-format and you must use a special utility to remove their special partition first, then format the drive using the HP tool or even windows format if it works.

 

I was never able to get my flash drive to work using the windows format or the HP tool and boot on the  Intel motherboard tom originally specified.  It would boot just fine on my laptop, so i knew I was fighting a bios issue.

 

Good luck...

 

Joe L.

  • Author

Sheesh.  Well that did it - everything is working now.  I shouldn't have overlooked that step but it sounded redundant - what the heck does that HP tool do, magic?  :P

 

THANK YOU Joe L. <3

 

before you do try vmware, have you tried using the HP formatting tool Tom gave a link to???

 

Most people have found that that does the trick, although I've also read of some that said some flash drives come loaded with software that is not removed with a re-format and you must use a special utility to remove their special partition first, then format the drive using the HP tool or even windows format if it works.

 

I was never able to get my flash drive to work using the windows format or the HP tool and boot on the  Intel motherboard tom originally specified.  It would boot just fine on my laptop, so i knew I was fighting a bios issue.

 

Good luck...

 

Joe L.

Sheesh.  Well that did it - everything is working now.  I shouldn't have overlooked that step but it sounded redundant - what the heck does that HP tool do, magic?  :P

 

THANK YOU Joe L. <3

 

before you do try vmware, have you tried using the HP formatting tool Tom gave a link to???

 

Most people have found that that does the trick, although I've also read of some that said some flash drives come loaded with software that is not removed with a re-format and you must use a special utility to remove their special partition first, then format the drive using the HP tool or even windows format if it works.

 

I was never able to get my flash drive to work using the windows format or the HP tool and boot on the  Intel motherboard tom originally specified.  It would boot just fine on my laptop, so i knew I was fighting a bios issue.

 

Good luck...

 

Joe L.

It sets the Cylinnders/heads/sectors geometry of the flash and sets the file-system-type to type 'e' (FAT 16 LBA)

Note that is not the same as the MS format command.  It uses plain FAT or FAT32.

 

Glad you are up annd runninng...

 

Joe l.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.