Hi,
        Following a question to jeff after his talk last night about
        firewalls, I said I would post a problem i am having on the list.

        My problem is that my ipaq and desktop do not communicate via a usb
        link until I establish a ppp dial-out link to the external internet.

        The desktop is a debian stable with ipmasq installed. I have not
        modified the ipmasq setup in any way.

        The ipaq runs the "familiar" linux distribution version 0.7.1. But
        this problem was also present when it ran 0.6.

        Before attempting to communicate, I do the following
        - optionally get the ipaq out of power save mode by pressing its
          button
        - run a script on the desktop as root.
                /sbin/modprobe usbnet
                /sbin/ifconfig usb0 gateway
        - jiggle the ipaq in and out of its cradle.

        At this point, I can see (but not ping) the ipaq using ifconfig as follows.
        usb0      Link encap:Ethernet  HWaddr 16:AE:20:D8:DA:E5  
                  inet addr:192.168.0.200  Bcast:192.168.0.255 Mask:255.255.255.0
                          UP BROADCAST RUNNING MULTICAST  MTU:1500 Metric:1
                          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
                          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
                      collisions:0 txqueuelen:100 
                      RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

        My /etc/hosts has this in it. (I call the ipaq "familiar").

192.168.0.202 familiar familiar.localdomain
192.168.0.200 gateway gateway.localdomain

    I havent changed /etc/network/interfaces in any way.

        Once I do a dialout, the desktop talks to the ipaq using ping, ssh,
        scp, and the ipaq can download from the internet using ipkg. So its
        a reasonably trivial problem really.

        cheers and thanks in advance.



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to