On Thursday 03 September 2009 07:17:26 Walter Dnes wrote:
>   I recently bought a USR5637 USB dialup modem for my 2nd PC.  I chose
> it because it's small, and specifically claims to support linux.
> Following instructions at http://www.linux-usb.org/USB-guide/x332.html I
> * recompiled the kernel with CDC(ACM) USB modem support
> * tried "mknod /dev/usb/ttyACM0 c 166 0"
> * woops, no /dev/usb/.  So I did "mkdir /dev/usb" and then the mknod
> * I rebooted, and discovered that /dev/usb was gone
> 
>   For now I have the mkdir and mknod commands in /etc/conf.d/local/start
> to recreate them at each bootup, but putting stuff in there is usually a
> last resort.  Is there a "more correct" way of doing it?
> 
>   BTW, the modem works.  I ssh'd from my main machine to the 2nd
> computer and dialed into my dialup ISP, and launched a w3m text browser
> session.  The scarey part is that there is no modem noise to let me
> know when I'm connected.  But ifconfig indicated that I now had ppp0, in
> addition to lo and eth0.  Plus I went to whatismyip.org with w3m and got
> an IP address that reversed DNS to my dialup provider.
> 

Set up a udev rule so that if udevd finds a device with that modem's serial 
number (or other other identifier you like) then it creates the node you 
specify.

Google for it.

-- 
alan dot mckinnon at gmail dot com

Reply via email to