On Sat, Dec 29, 2001 at 03:13:21AM +0100, Peter Huetmannsberger wrote: > > Hello all! > > After having spent days on messing around wiht my new lkittle toy, a cheap > Palm M100 I have decided to ask before I despair wih hte PPP connection. > > I have read a lot about settin it up, and I have tried to follow all and > more but to no avail. > > My laptop, which does not have a serial port, but an irda smc-ircc FIR > port, works fine with pilot-xfer, however when tring to establish a PPP > connection I have no luck. > > I can choose on the PALM wether I want an IR connection or a serial > connection under details it tells me that PPP is an option. I use Palm OS > 3.5.11 which I guess is the standard for the M100 Palm. > > I can"t get PPP to work with the serial port either. > > I have tried the following options on the Linux side. > > pppd /dev/ircomm00 57600 (tried various speeds) nodetach local silent > 192.168.1.1:192.168.1.2 proxyarp noauth +pap > > I have tried all of tehse in various combinations. > > Modules on the laptop are irda, ircomm, irport, irtty, ircomm-tty, > smc-ircc (driver for my chip), again I have tried various combinations. > > discovery is on ( echo 1 a.s.f.) > > irattach /dev/ircomm0 is executed to make pilot-xfer work.
Should be irattach irda0 or something.. But not /dev/ircomm0. irattach may not even be neccessary at all. > Backing up with pilot-xfer works like a whistle. > > Has anyone gotten an m100 to work with linux ppp? or am I trying something > that won't work currently. Or did I just miss something vital. I've run PPP over IrCOMM with my m505 without problems. m505 has OS 4, that might matter. But what I use is: pppd /dev/ircomm0 115200 192.168.2.1:192.168.2.2 passive silent noauth nodetach local ms-dns 192.168.1.1 192.168.2.0 is a net I create here that only carries traffic between my laptop and the Palm. 192.168.1.1 is the nameserver that my laptop uses, check what's in /etc/resolv.conf. This way the Palm successfully communicates with my laptop. For the world outside I just activate NAT in my kernel and set up MASQUERADING for the PPP interface where the Palm is: echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -s 192.168.2.2 -j MASQUERADE All IP packets leaving my computer, coming from 192.168.2.2 (the Palm) are masqueraded so that they will come back the same way. Using the proxyarp option with pppd would result in the same behaviour but then I would have to change the pppd startup command whenever my laptop comes to a different network, since the address assigned to the Palm has to exist on the local network that the laptop is connected to for proxyarp to work as intended. If you don't move around too much that doesn't matter, of course. > Many thanks, and a happy new year to all of you. Likewise. //Peter -- irc: CareBear\ irl: Peter Stuge _______________________________________________ Linux-IrDA mailing list - [EMAIL PROTECTED] http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda
