View Single Post
Old 06-07-2012, 02:34 AM   #6
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by damaru View Post
ho well - the udev is kind of nice but I can't get it to look good enough, I used instead some network config in my /etc/network/interfaces:

allow-hotplug usb0

mapping hotplug
script grep
map usb0

iface usb0 inet static
address 192.168.2.1
netmask 255.255.255.0
broadcast 192.168.2.255
up iptables -I INPUT 1 -s 192.168.2.1 -j ACCEPT

which work the same, but is cleaner
I was unable to give you details in my first post because you forgot to mention which "Linux" you had installed.

There are a lot of different ones out there, and not all of them use that control file (they all use udev - even the Kindle uses udev).

If you had provided a better question, I could have given you a better answer (see signature).
knc1 is offline   Reply With Quote