Home blog Computers PCMCIA and USB start up in Linux

Who's Online

We have 1 guest online

Login Form



 
PCMCIA and USB start up in Linux Print E-mail
Blog - Computers
by Jack Beltane (© Jack Beltane. All rights reserved.)   
Saturday, 06 March 2010 03:36

So I was specifically trying to get my network connection up under DeLiLinux (my flavor of the month), and stumbled across this on the wiki. I’m reposting it here for two reasons: 1) it worked like a charm; 2) I don’t want to have to hunt for it again in the wiki.

I edited a few files from the command line to get the internet card going:

Added pcmcia in the last line of /etc/rc.conf now it has SERVICES="pcmcia"

Note: You may also need the net and coldplug services running from boot … My line reads: SERVICES="coldplug pcmcia net"

Added sleep 10 to the forth line of /etc/rc.d/net

Added i82365 to the PCIC= found on line 38 of /etc/rc.d/pcmcia so now it has PCIC=i82365

Starting it now involves login as root, /etc/rc.d/net start, and logout.

Note: I don’t think you need to do this, if you add net to the services you start at boot.

There was also one spot where I had to change the DHCP from “n" to “y" … If you have a PCMCIA network adapter, edit /etc/pcmcia/network.opts and set dhcp="y" (it’s “n" by default). If you don’t do this and you start net at boot, you’ll get a net [ERROR] message.

As for USBs, try this:

In the /etc/rc.modules file, I added the following to the end of the file:

/sbin/modprobe usbcore
/sbin/modprobe usb-uhci # this could also be usb-ohci
/sbin/modprobe usb-storage
/sbin/modprobe scsi_mod
/sbin/modprobe sd_mod

With this, during boot USB port recognized and added to /dev file system.

Just make sure to update your /etc/fstab — the mount point for USB can be insanely long (mine is /dev/scsi/host0/bus0/target0/lun0/part1). You might be able to get away with /dev/scsi, too. Also, make sure you define the filesystem — usbfs might not work (I had to change mine to vfat before it would correctly mount).

 

You must be a registered user to post comments. Register here.



Entire site contents are copyright © 2009-2010 by Jack Beltane. All rights reserved.
 


micro link to this story:
http://big-fly.net/?id=59


Poll

Breaking Benjamin...