OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Firewall-settings For Os X Internetsharing Via Usb, can't browse WWW with Z over USB/TCP-IP
elwood151
post Jun 12 2005, 12:02 AM
Post #1





Group: Members
Posts: 27
Joined: 26-December 04
From: Pforzheim, Germany
Member No.: 6,021



Hi,

I'm trying to connect my Zaurus SL5500 (Sharp ROM 3.13 + Cacko Kernel patch) to the WWW and for the first step I want to use the USB/TCP-IP connection.

My Powerbook is connected via WLAN to our DSL router, I have internet sharing enabled on the PB and the Z can ping IP-numbers and urls like www.avm.de successfully.

However, the Z can only load a web page in Opera, if I disable the firewall on the PowerBook (OS 10.3.9).
I don't want to disable it completely - does anybody know how I have to configure the firewall for getting Opera on the Z working?

Best regards

Martin
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
qwerty
post Jul 7 2005, 08:07 AM
Post #2





Group: Members
Posts: 13
Joined: 7-July 05
From: Chicago
Member No.: 7,553



Hi,
I'm trying this too, but haven't gotten as far.
I installed the USB ethernet driver, gave my Z and my mac manual IPs (192.168.129.xxx). I can ssh back and forth between the two, but the Z can't find the internet (ping attempts give: address unreachable). I turned on internet sharing (of regular ethernet, to usb ethernet adapter) and my firewall is allowing port 80.
I've been hunting around and I think I might need to turn on ip forwarding on the z. (I found a page describing setting up a pppd on the usb and setting up a NAT using the iptables command which appearantly my Z doesn't have yet.)

The Z has OpenZaurus (really minimal, the person i bought it from flashed it) and the mac has 10.3 and is connected to a DSL modem.



QUOTE(elwood151 @ Jun 12 2005, 03:02 AM)
Hi,

I'm trying to connect my Zaurus SL5500 (Sharp ROM 3.13 + Cacko Kernel patch) to the WWW and for the first step I want to use the USB/TCP-IP connection.

My Powerbook is connected via WLAN to our DSL router, I have internet sharing enabled on the PB and the Z can ping IP-numbers and urls like www.avm.de successfully.

However, the Z can only load a web page in Opera, if I disable the firewall on the PowerBook (OS 10.3.9).
I don't want to disable it completely - does anybody know how I have to configure the firewall for getting Opera on the Z working?

Best regards

Martin
*

Go to the top of the page
 
+Quote Post
elwood151
post Jul 10 2005, 08:51 PM
Post #3





Group: Members
Posts: 27
Joined: 26-December 04
From: Pforzheim, Germany
Member No.: 6,021



QUOTE(qwerty @ Jul 7 2005, 04:07 PM)
Hi,
I'm trying this too, but haven't gotten as far.
I installed the USB ethernet driver, gave my Z and my mac manual IPs (192.168.129.xxx).  I can ssh back and forth between the two, but the Z can't find the internet (ping attempts give: address unreachable).  I turned on internet sharing (of regular ethernet, to usb ethernet adapter) and my firewall is allowing port 80.
I've been hunting around and I think I might need to turn on ip forwarding on the z. (I found a page describing setting up a pppd on the usb and setting up a NAT using the iptables command which appearantly my Z doesn't have yet.)

The Z has OpenZaurus (really minimal, the person i bought it from flashed it) and the mac has 10.3 and is connected to a DSL modem.


Hi qwerty,

I never tried OpenZaurus yet, so I'm not sure if it works the same way as the SharpROM concerning networking...

Try the following:

If the Zaurus and the Mac are connected and are able to ping each other,
open a terminal on the Z and type:

sudo route add -host 192.168.129.1 usbd0

and

sudo route add default gw 192.168.129.1

Then you should be able to ping a server on the web from the Z
(ping www.google.com ...)

Please try and give me feedback, if you were successful, and then we'll attack further steps. (I have some urgent work to do at the moment and for some weeks did not try to get further with my Z, so my memories what I tried and what helped for whatt aren't really "fresh" ;-( )

Best regards,

Martin
Go to the top of the page
 
+Quote Post
freizugheit
post Jul 14 2005, 07:43 AM
Post #4





Group: Members
Posts: 409
Joined: 7-November 03
Member No.: 811



QUOTE
sudo route add -host 192.168.129.1 usbd0

and

sudo route add default gw 192.168.129.1


It should be su instead sudo.

The nameerver to be added in /etc/resolv.conf should be your ISP's name server.

Happy Surfing!
Go to the top of the page
 
+Quote Post

Posts in this topic
elwood151   Firewall-settings For Os X Internetsharing Via Usb   Jun 12 2005, 12:02 AM
jfv   You probably need to open port 80 on your powerboo...   Jun 12 2005, 05:46 AM
elwood151   QUOTE(jfv @ Jun 12 2005, 01:46 PM)You probabl...   Jun 13 2005, 11:49 AM
qwerty   Hi, I'm trying this too, but haven't gotte...   Jul 7 2005, 08:07 AM
elwood151   QUOTE(qwerty @ Jul 7 2005, 04:07 PM)Hi, I...   Jul 10 2005, 08:51 PM
freizugheit   QUOTEsudo route add -host 192.168.129.1 usbd0 and...   Jul 14 2005, 07:43 AM
qwerty   thanks. I figured out su, although i'm runnin...   Jul 14 2005, 02:04 PM
freizugheit   whois ispdomain   Jul 15 2005, 08:39 AM
qwerty   thanks martin. I used those two commands and now ...   Jul 13 2005, 07:36 AM
elwood151   QUOTE(qwerty @ Jul 13 2005, 03:36 PM)thanks m...   Jul 13 2005, 11:56 AM
qwerty   thanks for being patient with my questions...still...   Jul 17 2005, 08:22 PM
samxiao   QUOTE(qwerty @ Jul 14 2005, 05:04 PM)thanks....   Jul 20 2005, 12:12 PM
samxiao   where do i put those codes so everytime i reboot m...   Jul 20 2005, 12:28 PM
qwerty   /etc/resolv.conf on the mac (which can do all the ...   Jul 20 2005, 01:08 PM
sabes   I'm having a similar problem connecting my Nok...   Feb 16 2006, 03:09 PM
samot   Resuming what I did an worked (os sharp rom 3.1) w...   May 1 2006, 04:21 PM
icruise   I mentioned in this thread that I was able surf th...   May 1 2006, 11:06 PM
freizugheit   samot, I am glad to know that you enjoy surfing v...   May 3 2006, 01:55 AM
samot   QUOTE(freizugheit @ May 3 2006, 01:55 AM)samo...   May 8 2006, 01:20 PM
eji   Hey, this is great! Thanks. I got USB (en2) wo...   May 11 2006, 11:35 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st May 2013 - 07:46 AM