Damn Small Linux - Not!
The forum for DSL-N
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

usb ethernet converter

 
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Networking
View previous topic :: View next topic  
Author Message
simon.robert



Joined: 04 Aug 2006
Posts: 4
Location: Devon, UK

PostPosted: Fri Aug 04, 2006 2:10 pm    Post subject: usb ethernet converter Reply with quote

The pc I'm installing dsl-n on has no ethernet card. I am using a sitecom usb/ethernet converter. It works fine with dsl-n if I modprobe usbnet and then run the setup network card utility.

My question is how can I automate this process, guess I add the modprobe to one of the boot init files, but doing the network card thing, absolutely clueless.

Also how do I use a fixed address, and how would I automate this as a boot process.

Any help grovellingly accepted

S
Back to top
View user's profile Send private message Visit poster's website
roberts



Joined: 17 Apr 2006
Posts: 320
Location: OC CA USA

PostPosted: Fri Aug 04, 2006 6:01 pm    Post subject: Reply with quote

Add your modprobe and static ip commands to your /opt/bootlocal.sh

For static IP see the wiki FAQ [url]http://www.damnsmalllinux.org/wiki/index.php/Frequently_Asked_Questions#How_can_I_enter_and_save_my_static_IP_settings.3F[/url]
Back to top
View user's profile Send private message Visit poster's website
dus10



Joined: 07 Aug 2006
Posts: 3

PostPosted: Mon Aug 07, 2006 3:42 pm    Post subject: Yes, I'm a Linux noob... Reply with quote

I'm familiar with using ndiswrapper, but how do I "modprobe usbnet and then run the setup network card utility"?

If you could post the code to type into the terminal that would be grand.
Back to top
View user's profile Send private message AIM Address
simon.robert



Joined: 04 Aug 2006
Posts: 4
Location: Devon, UK

PostPosted: Mon Aug 07, 2006 9:05 pm    Post subject: Re: Yes, I'm a Linux noob... Reply with quote

[quote="dus10"]I'm familiar with using ndiswrapper, but how do I "modprobe usbnet and then run the setup network card utility"?

If you could post the code to type into the terminal that would be grand.[/quote]


Hi dus10

this is an easy one. there really is no code as such. open a terminal and make yourself root by entering the "su" command and then just do

modprobe usbnet

then you can do an lsmod which should give you a list of installed modules amongst which will be usbweb.

then on the menu get yourself to setup / network setup /netcardconfig

this brings up a box that says
Use DHCP Broadcast?
and gives you the option of hitting "Yes" or "No". Say yes and If all has worked so far it'll say someting like "sending broadcast on eth0" and then close itself. Saying "No" will take you through a dialog for setting up a static IP address.

That's it! Open a browser and you should be interneted up.

I've not tried doing the things suggested in answer to my original question, but adding "modprobe usbnet" to the boot config file should take care of the first part of the process and I guess/hope that setting up a static address will take care of part 2.

How do you set this up with ndiswrapper? The device I have is a Sitecom LN-029 10/100 ethernet/usb network adaptor. Might be useful to know sometime!

Thanks

Simon
Back to top
View user's profile Send private message Visit poster's website
simon.robert



Joined: 04 Aug 2006
Posts: 4
Location: Devon, UK

PostPosted: Mon Aug 07, 2006 9:08 pm    Post subject: I forgot to say.... Reply with quote

thank you for the help Roberts

S
Back to top
View user's profile Send private message Visit poster's website
dus10



Joined: 07 Aug 2006
Posts: 3

PostPosted: Mon Aug 07, 2006 9:23 pm    Post subject: Reply with quote

To be honest I have only used ndiswrapper in ubuntu and it was with a wireless thumbstick. I just yesterday switched my old laptop over to dsl and have'nt even tried the entrega usb/ethernet hub as of yet. I was going to switch over to dsl-n tonight hoping for a more feature rich distro which might have a better chance of identifying my hub. I had an impossible time getting it to work with windows, so just maybe I'll get it working...

Thanks simon and Robert for the info, and if I find any interesting information out tonight I'll repost my findings.
Back to top
View user's profile Send private message AIM Address
simon.robert



Joined: 04 Aug 2006
Posts: 4
Location: Devon, UK

PostPosted: Tue Aug 08, 2006 3:42 am    Post subject: usb/ethernet Reply with quote

I've not heard of your device, but I have to say I was pretty gobsmacked to find that various distros recognised it and installed the drivers.dsl-n needs just a bit of prompting, but the stuffis there.

On windows it neded the drivers that came withit on disc.

I understand, I think, that these devices run on common standards. If that's true then yours stands an OK chance of working. Distros that mine worked with "out of the box" where mepis lite, ubuntu (X & K) and zenwalk. (all of them a bit "big" for the PC I'm messing around with).

I don't want to be disloyal to dsl-n, but have you tried the latest zenwalk? The dsl/n team do say that dsl is primarily a portable tool and not really a distro for perminant installation. zenwalk is very fast on old machines and has a nice look and feel.

I've rescued a 7 year old HP omnibook laptop with it and am very pleased with the results.

Sorry dsl-n, I'm not dissing you, you're perfect for the PC I'm trying to make useful and also for internet cafes in India that have boxes that think puppy linux is too heavy to load, you saved me from lots of mucking around in W98 over Christmas.

When you're in a net cafe where the lan is manufactured out of string and cocoa tins, where W98 runs like a dog with no legs you thank the gods (Ganeesh I reckon should probably be the patron of DSL/-n) for that CD or inconspicuous USB widget.

S
Back to top
View user's profile Send private message Visit poster's website
dus10



Joined: 07 Aug 2006
Posts: 3

PostPosted: Tue Aug 08, 2006 3:26 pm    Post subject: Reply with quote

Thanks for the help again. A friend had an old PCMCIA ether adapter that he handed over since he was unable to find the windows driver for it (he's strictly a windows guy). The adapter worked perfectly with no work at all. I was considering buying one anyway, but I thought I'd try that little hub one last time since it didn't even work on my windows machine as far as the ether port goes.

As far as distro's go, I noticed Zen uses the xfce gui which I like, so I may check that out for a fuller linux experience.

One last thing... I love linux and my laptop would still be useless without dsl.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Networking All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group