1 |
On Thursday 03 September 2009 07:17:26 Walter Dnes wrote: |
2 |
> I recently bought a USR5637 USB dialup modem for my 2nd PC. I chose |
3 |
> it because it's small, and specifically claims to support linux. |
4 |
> Following instructions at http://www.linux-usb.org/USB-guide/x332.html I |
5 |
> * recompiled the kernel with CDC(ACM) USB modem support |
6 |
> * tried "mknod /dev/usb/ttyACM0 c 166 0" |
7 |
> * woops, no /dev/usb/. So I did "mkdir /dev/usb" and then the mknod |
8 |
> * I rebooted, and discovered that /dev/usb was gone |
9 |
> |
10 |
> For now I have the mkdir and mknod commands in /etc/conf.d/local/start |
11 |
> to recreate them at each bootup, but putting stuff in there is usually a |
12 |
> last resort. Is there a "more correct" way of doing it? |
13 |
> |
14 |
> BTW, the modem works. I ssh'd from my main machine to the 2nd |
15 |
> computer and dialed into my dialup ISP, and launched a w3m text browser |
16 |
> session. The scarey part is that there is no modem noise to let me |
17 |
> know when I'm connected. But ifconfig indicated that I now had ppp0, in |
18 |
> addition to lo and eth0. Plus I went to whatismyip.org with w3m and got |
19 |
> an IP address that reversed DNS to my dialup provider. |
20 |
> |
21 |
|
22 |
Set up a udev rule so that if udevd finds a device with that modem's serial |
23 |
number (or other other identifier you like) then it creates the node you |
24 |
specify. |
25 |
|
26 |
Google for it. |
27 |
|
28 |
-- |
29 |
alan dot mckinnon at gmail dot com |