Sorry for the slightly confusing subject... but please read on :) and sorry for the looooong mail.
I have a Sahrp Zaurus SL5500 flashed with Openzaurus 3.5.3. I googled on getting it connected to my PC running FC4. I go online via Hathway cable internet. I connect the zaurus to the PC via the usb cradle. This is the output in /var/log/messages: --------------------------------- Sep 18 21:04:55 carbon kernel: usb 3-2: new full speed USB device using uhci_hcd and address 2 Sep 18 21:04:57 carbon kernel: usb0: register usbnet at usb-0000:00:1d.1-2, Sharp Zaurus SL-5x00, ce:a7:d6:df:73:2b Sep 18 21:04:57 carbon kernel: usbcore: registered new driver usbnet ---------------------------------- This is how I go about it: The Zaurus has an IP address of 192.168.129.201. I have the following in /etc/sysconfig/network-scripts/ifcfc-usb0 ------------------------ DEVICE=usb0 ONBOOT=no BOOTPROTO=none BROADCAST=192.168.129.255 IPADDR=192.168.129.1 NETMASK=255.255.255.0 NETWORK=192.168.129.0 NOZEROCONF=yes USERCTL=no PEERDNS=no TYPE=Unknown IPV6INIT=no NOZEROCONF=yes ----------------------- Then, I have a script in /usr/local/bin like this: -------------------------- #!/bin/bash zIface=usb0 zIfaceIP=192.168.129.1 zIP=192.168.129.201 /sbin/ifconfig $zIface $zIfaceIP netmask 255.255.255.0 up /sbin/route add -host $zIP $zIface echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -F iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE -------------------------------------- This is what ifconfig gives me: ----------------------------------- eth0 Link encap:Ethernet HWaddr 00:13:20:24:D3:9C inet addr:202.88.160.189 Bcast:202.88.160.191 Mask:255.255.255.224 inet6 addr: fe80::213:20ff:fe24:d39c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:18445 errors:0 dropped:0 overruns:0 frame:0 TX packets:408 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1254752 (1.1 MiB) TX bytes:53969 (52.7 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:1183 errors:0 dropped:0 overruns:0 frame:0 TX packets:1183 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1235108 (1.1 MiB) TX bytes:1235108 (1.1 MiB) usb0 Link encap:Ethernet HWaddr CE:A7:D6:DF:73:2B inet addr:192.168.129.1 Bcast:192.168.129.255 Mask:255.255.255.0 inet6 addr: fe80::cca7:d6ff:fedf:732b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:13 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:248 (248.0 b) TX bytes:766 (766.0 b) -------------------------------------------- I can ping 192.168.129.1 from the zaurus and I can ping 192.168.129.201 from my desktop. I suppose this means that I have a two connection working. This is what route gives me after running the above script: -------------------------------------- Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.129.201 * 255.255.255.255 UH 0 0 0 usb0 202.88.160.160 * 255.255.255.224 U 0 0 0 eth0 192.168.129.0 * 255.255.255.0 U 0 0 0 usb0 169.254.0.0 * 255.255.0.0 U 0 0 0 eth0 default 202.88.160.161 0.0.0.0 UG 0 0 0 eth0 ------------------------------------------ Now to my problem :) I can't ping anywhere other than my desktop from the zaurus. I am running a caching nameserver on my desktop. On the zaurus I have tried giving 192.168.129.1 for the dns number. I have even tried using the hathway and also the vsnl dns nameservers with no success. I have 192.168.129.1 (the ip of the desktop) as the gateway. I always get a message saying: Host name lookup failure. This seems to me like a dns problem. Can someone please help ? Please ... I want this working before I plonk down for a wi-fi card for the zaurus and my desktop. regards, Sharukh. -- Dr. Sharukh K. R. Pavri. Homoeopath, Linuxer. There are 10 kinds of people in the world: those who understand binary, and those who don't. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ linux-india-help mailing list linux-india-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-india-help