Author Topic: networking troubles !!  (Read 1798 times)

alan

  • Full Member
  • ***
  • Posts: 221
    • View Profile
networking troubles !!
« on: September 28, 2004, 03:29:06 am »
Hi !!

I own a c750 runing cacko 1.22b and a linux box (mandrake 10.0 official download edition withe 2.6.3-16mdk kernel). I want to connect my Z to the internet through USB but it does'nt seem to work.

* I can ping my pc and back.
ping -c 4 192.168.129.255 => avg = 0.7 ms

* ssh 192.168.129.255
ssh: connect to host 192.168.126.255 port 22 Network is unreachable

* opera remains offline

* Sharing Internet connection is activated from usb0 to ppp+ (i used  drakconf)

* Drakfirewall is set up to block any intrusion from the internet (does this affect connection from local network ? I don't think so but i am not sure...)

Can someone help me please ? I'm lost :'(

UPDATE :
I though this was the command to enable usb network connection in Qtopia but it does'nt work...
* qcop QPE/Networking "up()"
SlSharedManager: can't get proc entry

thanks in advance.
« Last Edit: September 28, 2004, 03:51:56 am by alan »

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
networking troubles !!
« Reply #1 on: September 28, 2004, 05:47:48 am »
You need to set up route from your Z to PC and you will also need to set up nameservers in /etc/resolve.conf - by defalut it is set to 127.0.0.1 which resolve much   .

The route command is reltively simple

route add default gw 192.168.0.1

replace 192.168.0.1 with the ip of your pc so that Z now where to send requests for dns etc

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

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
networking troubles !!
« Reply #2 on: September 28, 2004, 06:23:13 am »
Quote
192.168.126.255

I thought the number 255 was reserved when used in tha last octet (for broadcast)?

So ping will work (and may reply from the Z or the PC end of the connection), but ssh can't work.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Guest_alan

  • Guest
networking troubles !!
« Reply #3 on: September 30, 2004, 11:16:46 am »
hi again !!!

thanks guys, you were wright about ip addresses, i now use 192.168.129.200 and 201.

But the main pb commes from my firewall. I cant share my internet connection as long as it is turned on. I disable it every time i need to access the net from my z but it's a real security pb. Do you guys know what kind of services i should leave open in the gui configuation center or wich ports i should leave open ?

I really don't know anything about firewalls as until yesterday i never turned it off but i am ready to learn as much as necessary so any help / pointer is welcome.

PS : i am proud to announce that this is my first post sent from my zaurus !!! A t long last : i bought it monces ago !!! Linux world is full of learning nights...