Author Topic: mandrake 10 : IPV6 ?  (Read 3317 times)

Anonymous

  • Guest
mandrake 10 : IPV6 ?
« on: May 13, 2004, 04:11:49 pm »
Hi!!

I recently installed Mandrake 10 Official on my pc AND pdaxrom on my zaurus beacause i was fed up with mdk 9.2 and Daniela not being able to talk to each other no matter what i did...

Now, (halleluia) i can ping and even ssh to my C750 !!!

BUT (yes, there is still a \"but\") i can\'t ping _from_ the Z to the PC. I think it might be due to ipv6 as the ifconfig gives me a strange thing (896:vf:456;... something like that... not home for now...).

here is my question : do i have to desactivate ipv6 (wich might be useful later) ot do i only have to change the traditionnal 192.168.129.1 to the ipv6 address?

Thanks in advance.

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
mandrake 10 : IPV6 ?
« Reply #1 on: May 13, 2004, 04:37:36 pm »
Damn, these newbie questions are getting tough!  

What ever happened to \"how do I eject my cf card\" and \"how do I change the time\"

My guess is that if ssh is working then two way connections can be established.  When you connect to your Z via ssh and issue \"who am I\" what does it report at the end in brackets? can you ping that address?

I have never used IPv6, but I was under the impression that it was fully backwords compatible.

Peter
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.

DrWowe

  • Hero Member
  • *****
  • Posts: 696
    • View Profile
    • http://
mandrake 10 : IPV6 ?
« Reply #2 on: May 13, 2004, 05:10:54 pm »
IPv6 is definately NOT backwards compatible.  However, it\'s doubtful that the PdaXRom people compiled a kernel with ipv6 but not ipv4, so that\'s probably not the culprit.  

Guest:  When you run ifconfig, you shold see both ipv4 and ipv6 addresses.  If not, then there\'s a problem.

Anonymous

  • Guest
mandrake 10 : IPV6 ?
« Reply #3 on: May 17, 2004, 02:20:47 pm »
Thanks to both of you. I\'m just stupid... But, hey, that is why i posted in the newbie section!!!

Anonymous

  • Guest
mandrake 10 : IPV6 ?
« Reply #4 on: May 17, 2004, 02:31:15 pm »
hi again...

ehg, another silly question...

the How-to proposes this script :

#! /bin/bash
 localIface=eth0
 localIp=192.168.1.1
 zIface=usb0
 zIfaceIP=192.168.129.1
 zIP=192.168.129.201

 typeset -i num
 num=`ifconfig | grep $zIface | wc -l`
 if [ $num -eq 0 ] ; then
 ifconfig $zIface $zIfaceIP netmask 255.255.255.255 up
 route add -host $zIP $zIface
 fi
 iptables -t nat -F
 iptables -t nat -A POSTROUTING -j SNAT -o $localIface --to $localIp
 echo 1 ] /proc/sys/net/ipv4/ip_forward



I suppose the
\"localIface=eth0
 localIp=192.168.1.1\" thing is to indicate the way to the internet...

BUT (i kind of love this word...) i don\'t use a ethernet interface to connect but a usbmodem...
So, 1) what is my localinterface ?
       2) what is my local ip ?

Here is a copy of my ifconfig


[alan@localhost alan]$ su
Password:
[root@localhost alan]# ifconfig
eth0      Lien encap:Ethernet  HWaddr 00:60:4C:29:62:CF
          adr inet6: fe80::260:4cff:fe29:62cf/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1919 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27211 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          RX bytes:1297737 (1.2 Mb)  TX bytes:2874206 (2.7 Mb)

lo        Lien encap:Boucle locale
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:203 errors:0 dropped:0 overruns:0 frame:0
          TX packets:203 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          RX bytes:15382 (15.0 Kb)  TX bytes:15382 (15.0 Kb)

ppp0      Lien encap:Protocole Point-à-Point
          inet adr:81.50.136.157  P-t-P:193.253.160.3  Masque:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:1907 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27188 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:3
          RX bytes:1293769 (1.2 Mb)  TX bytes:2327629 (2.2 Mb)

usb0      Lien encap:Ethernet  HWaddr 12:E7:87:9D:B7:7B
          inet adr:192.168.129.1  Bcast:192.168.129.255  Masque:255.255.255.0
          adr inet6: fe80::10e7:87ff:fe9d:b77b/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4326 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4309 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          RX bytes:381973 (373.0 Kb)  TX bytes:442248 (431.8 Kb)

I know i should\'nt give my ip that way but, hey, this is a matter of trust

Thanks in advance...

tecknobabble

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • http://
mandrake 10 : IPV6 ?
« Reply #5 on: May 17, 2004, 03:23:44 pm »
Well you have both an eth0 and a ppp0 (this is likely to be the usbmodem)... but both seem to have very similar packet receive/transmitted counts.  eth0 is using IPv6 while ppp0 is IPv4.

What does the  route show as your default gateway?

In theory once you know which interface is being used as your default gateway you\'ll know the ip-address and interface to use... but if it is eth0 then you\'ll need to install the iptables-ipv6 rpm and use ip6tables instead of iptables.
SL-5500, Own custom Crow-like ROM, DLink DCF-660W, Pocketop Keyboard, assorted no-name CF/SD cards.

SubApplet extender and maintainer, ditto for TaskList applet and Missile Command

Anonymous

  • Guest
mandrake 10 : IPV6 ?
« Reply #6 on: May 18, 2004, 08:17:40 am »
oki!! Thanks.

I changed as you told, tecknobabble, but now, when i try to launch the script, the console keeps answering \"acess denied\", even if i\'m su...

Do i have to do anything else than copying the script into a file and type ./[name_of_the_file]?

Thanks again, and sorry for so much newbieness...