Re: How do I make usb net?

Gerhard Zintel <[email protected]>
Newsgroups gmane.comp.handhelds.linux.familiar
Message-ID <[email protected]>
Hi Thomas,

it's nearly a year ago that I installed my usb net connection between HP2200 / 
Opie and kubuntu / Feisty thus my memory is not longer very accurate. I can 
give you only a shot into the dark:

On Montag, 4. Februar 2008, Thomas Jensen wrote:
> > 3. setup ip address and netmask of interfaces on iPAQ and PC,
> >    on IPAQ via GUI, on PC via
>
> Done.
>
> On iPAQ:
> IP address	192.168.0.202
> Subnet Mask	255.255.255.0
> Gateway		192.168.0.200
> and set to "Automatically bring up"
>
> On PC:
> iface usb0 inet static
> 	address 192.168.0.200
> 	netmask 255.255.255.0
> 	broadcast 192.168.0.255
>
> >    /etc/network/interfaces and "sudo ifup usb0"

Do you use a 2nd network on the same address, e.g. for eth0 something like 
192.168.0.1? This is not allowed. In my /etc/network/interfaces I've  defined

------------- snip -------------------------
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.0.0
gateway 192.168.0.1
------------------------------------------------
for eth0 and

------------- snip -------------------------
allow-hotplug usb0
iface usb0 inet static
address 192.168.1.2
netmask 255.255.0.0
broadcast 192.168.255.255
pre-up /etc/network/ipaq
-----------------------------------------------
for the usb network with /etc/network/ipaq containing:

------------- snip -------------------------
#!/bin/sh
sleep 5
exit 0
-----------------------------------------------

The two are in different sub-net domains.

Hope that helps
Gerhard

_______________________________________________
The Familiar Linux Distribution
Familiar mailing list
[email protected]
https://handhelds.org/mailman/listinfo/familiar
irc://irc.freenode.net #familiar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.