Re: How do I make usb net?

From: Gerhard Zintel <Gerhard.Zintel_at_mrs-thomas.de>
Date: Mon, 4 Feb 2008 17:27:38 +0100

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
Received on Mon Feb 04 2008 - 14:14:32 EST

This archive was generated by hypermail 2.2.0 : Mon Feb 04 2008 - 15:33:58 EST