Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

networking

Help
2007-02-12
2013-05-09
  • L. Alebarde
    L. Alebarde
    2007-02-12

    Hello,
    I have installed coLinux 0.6.4, with the Gentoo image Gentoo-2005.1-stage3-ext3, 512 Mo swap, winPcap 3.1, and a TAP network connexion. I cannot manage making internet connexion working, nor ethernet with my Windows XP host.
    I have made tries and tests for about 4 full days, reading all tuto, faq, wiki, and so on.

    Here is my config.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <colinux>
        <block_device index="0" path="\DosDevices\c:\coLinux\Gentoo-2005.1-stage3-ext3" enabled="true" />
        <block_device index="1" path="\DosDevices\c:\coLinux\swap_512Mb" enabled="true" />
        <bootparams>root=/dev/cobd0</bootparams>
        <initrd path="initrd.gz" />
        <image path="vmlinux" />
        <memory size="128" />
        <network index="0" type="tap" />
        <network index="1" name="Connexion au réseau local" type="slirp" />
    </colinux>

    I have tried both slirp and bridged.

    My windows ipconfig (TAP is not seen and does not want to connect. I set it with static ip : 192.168.0.40, netmask : 255.255.255.0, gateway : 192.168.0.1, DNS 1 : 192.168.0.1 (don't know what to put here), DNS 2 : 192.168.0.3 (don't know what to put here)):
    Configuration IP de Windows
            Nom de l'hôte . . . . . . . . . . : PC007
            Suffixe DNS principal . . . . . . : glop.maboite.fr
            Type de nœud . . . . . . . . . . : Hybride
            Routage IP activé . . . . . . . . : Non
            Proxy WINS activé . . . . . . . . : Non
            Liste de recherche du suffixe DNS : glop.maboite.fr
                                            glop.maboite.fr

    Carte Ethernet Connexion au réseau local:
            Suffixe DNS propre à la connexion : glop.maboite.fr
            Description . . . . . . . . . . . : Broadcom NetXtreme Gigabit Ethernet for hp
            Adresse physique . . . . . . . . .: 00-11-85-7D-67-7E
            DHCP activé. . . . . . . . . . . : Oui
            Configuration automatique activée . . . . : Non
            Adresse IP. . . . . . . . . . . . : 172.16.104.203
            Masque de sous-réseau . . . . . . : 255.255.0.0
            Passerelle par défaut . . . . . . : 172.16.1.254
            Serveur DHCP. . . . . . . . . . . : 172.16.3.3
            Serveurs DNS . . . . . . . . . .  : 172.16.3.4
                                            172.16.3.3
            Serveur WINS principal. . . . . . : 172.16.3.230
            Serveur WINS secondaire . . . . . : 172.16.3.231
            Bail obtenu . . . . . . . . . . . : lundi 12 février 2007 05:09:23
            Bail expirant . . . . . . . . . . : samedi 17 février 2007 05:09:23

    Under coLinu, ifconfig :
    eth0 Link encap:Ethernet HWaddr 00:FF:7E:6A:34:00
         inet addr:192.168.0.40 Bcast:192.168.0.255 Mask:255.255.255.0
         .....etc.....
    lo   Link encap:Local Loopback
         .....etc.....

    cat /etc/resolv.conf
    nameserver 192.168.0.1
    nameserver 128.59.22.10
    nameserver 172.16.3.4
    nameserver 172.16.3.3

    cat /etc/conf.d/net
    iface_eth0="192.168.0.40 broadcast 192.168.0.255 netmask 255.255.255.0"
    gateway="eth0/192.168.0.1"

    Could somebody help ?

    Best regards,

    Laurent.

     
    • Iraxl Enb
      Iraxl Enb
      2007-02-14

      i dont know about slirp, but i am using tap. from what you are seeing, i think you need to fix something on the windows host. the tap interface is not connected while colinux is not running, but when colinux is running, it should be connected.

       
    • have a look into my topic: http://sourceforge.net/forum/forum.php?thread_id=1686436&forum_id=342355

      I describe my working configuration, with
      - loopback connection = coLinux <-> windows without LAN
      - LAN connection for server under coLinux
      - WLAN (dialup) connection

      maybe this helps you

      Bebbo

       
    • Jurgster
      Jurgster
      2007-04-14

      as a noob in colinux i had to learn by doing as there was and is as far as i found no idiot guide.
      and to this subject i finaly made the bridge work under xp with the TAPva.

      1: install colinux and with debian img
      2: run deamon with debian :P
      3: login
      4: from prompt cd /etc/network enter
      5: #nano interfaces enter
      6: change address, netmask and gateway to that as if it were windows ip setup save and exit
      7: #shutdown -h now
      8: bridge TAPva and internet addapter

      eg:
      by my setup my internet is with my router 192.168.178.1
      my lan is 192.168.178.20-200 (obviously)
      my colinux ip is 192.168.178.200
      my xp network is bridged WLAN + TAPva
      haypresto my internet is accessable.