Author Topic: sl-c860 and netfront browser  (Read 5328 times)

ophb1

  • Newbie
  • *
  • Posts: 9
    • View Profile
sl-c860 and netfront browser
« on: January 25, 2004, 02:57:15 am »
Hi,

My simple network consists of  the zaurus sl-c860 and a linux laptop, connected by ethernet over usb. The laptop is running RH8 (2.4.18) and is connected to the net by dialup-ppp.So far the network seems to be setup correctly.I can ping and ssh from the laptop to the zaurus and vice versa. I can even ping and ssh from the zaurus to the outside world.

The problem is when I fire up the zaurus netfront browser, it doesn\'t connect to the net. There\'s a connection prompt (No connection to the network. Connect now?) to which I reply \"yes\". Then a connection setup error dialog appears (Cannot found the device card for communication).

So it\'s as if the browser isn\'t aware of the ethernet over usb. I\'ve gotten this far by rummaging through the various user groups. Any recommendations would be appreciated.

Thanks.

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
sl-c860 and netfront browser
« Reply #1 on: January 25, 2004, 05:33:38 am »
You have 2 choices here.

1) Issue a qcop message everytime you start netfront or qtmail to tell them the network is up.
     the message you need to send from a terminal is
     qcop QPE/Network \"up()\"

NOTE: the quotes on around up() are important.

2) download dummydev, this sets up a irda dummy network that fools netfront into using the ethernet over usb network.

Get it from http://www.killefiz.de/zaurus/showdetail.php?app=1385 , just install it and way you go.

I suggest going for option 2, it\'s way easier

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

ophb1

  • Newbie
  • *
  • Posts: 9
    • View Profile
sl-c860 and netfront browser
« Reply #2 on: January 25, 2004, 10:44:09 pm »
Hello Stu,

I tried option 2, and indeed it works! Thanks very much for your help.

-- Ted

zaai

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
sl-c860 and netfront browser
« Reply #3 on: March 09, 2004, 10:57:05 am »
Good tip, it worked for me too.

Now the problem is email. Trying to get my email it says host not found.
#ping mail.<emailhost>.com
works nicely.

I\'m using latest Cacko ROM with Win2K ICS on usb, standard ROM email v2.3
The log doesn\'t tell me anything.
Anywhere else I can look?

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
sl-c860 and netfront browser
« Reply #4 on: March 09, 2004, 07:36:28 pm »
Have you included your dns servers in /etc/resolv.conf? For some reason ping seems to work without it but the other apps need to know where to look to do name lookups.

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

zaai

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
sl-c860 and netfront browser
« Reply #5 on: March 10, 2004, 01:14:02 am »
Yup, windoze 2000 has 192.168.1.1 by default. If I leave it out then NetFront can\'t resolve hostnames anymore.

My guess is that either the email application doesn\'t resolve hostnames using the dummy adapter, or I\"m making a stupid mistake. Personally I would bet on the latter, but stranger things have happened. I\'m going to try it again, this time using my Gentoo box and NAT.
Any suggestions on where to find the right logfile or conf file for determining a probable cause would be welcome...

----
UPDATE:
I used the instructions from the OpenZaurus project to configure Zaurus networking over USB on Linux (http://www.linux-migration.org/ch05s08.html) and it works like a charm.
Woohoo! Who needs Windoze anyway.
I love this stuff ... when it works

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
sl-c860 and netfront browser
« Reply #6 on: March 10, 2004, 02:44:51 am »
In that case check and double check the spelling of the server names in the email client config.

I use the standard sharp email app over usb on Gentoo and XP and W2K, never had a problem with them that wasn\'t due to user error - missing resolv.conf, forgetting to open hole in firewall, misspelt server and passwords etc

Good luck

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

zaai

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://
sl-c860 and netfront browser
« Reply #7 on: March 24, 2004, 03:33:22 pm »
Well I got it working. It was a problem in the windows configuration. It worked fine instantly with Gentoo.
I\'m not sure what I did to get it working though. Fiddled a bit with windows networking setup and voila.
Thanks for the help.