debian sarge 3.1r1

Discussion in 'HOWTO-Related Questions' started by qiu, Apr 7, 2006.

  1. qiu

    qiu New Member

    I am about to install debian 3.1r1 (as per your howto)


    and because as soon as it is installed I will then

    install Xen3.0 as per yourhowto what should I be aware of during the install of sarge that will save time after when I come to apply the xen3.0 howto.

    many thanks

    qiu:D
     
  2. falko

    falko Super Moderator

    Install Debian as per the first two pages of the Debian "Perfect Setup", and then follow the Xen tutorial.
     
  3. qiu

    qiu New Member

    re sarge perfect setup and Xen

    by mistake I have setup exim mail server as the page where it says
    Continue installing libc-client without Maildir support did not appear
    so when I telnet port 25 i see exim has been set up how to remove as i want to go ahead and follow your page to install xen.

    thanks

    qiu
     
  4. falko

    falko Super Moderator

  5. qiu

    qiu New Member

    xen howto--static ip

    I connect by dhcp but my ip in my ethernet router is 192.168.1.64 this then connects me to a static ip from my ISP.

    What my question is should my network/interfaces
    look like this

    starting wih
    address 192.168.1.64(this is the ip IN MY ROUTER)
    or

    address 88.96.109.71 (my actual static ip address FROM isp)

    and the rest of the lines as per the status page IN my router

    address 88.96.109.71 (my actual static ip address)?
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.1.255
    gateway 62.3.83.5



    THANKS

    qiu;)
     
  6. falko

    falko Super Moderator

    Your virtual machines are in a local network behind a router, right? Then you should give them IP addresses from your local network that differ from your router's local IP adress, i.e. do not use 192.168.1.64 as it is already taken by your router. You could use 192.168.1.65 instead if it is free.
     
  7. qiu

    qiu New Member

    OR may be someting like this might ok

    ce eth0 inet static
    address 192.168.1.50
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168. 1.255
    gateway 192.168.1.1 (LOCAL IP ADDRESS)

    dhcp RANGE 1.64 to 1.254

    but the address in the router stays at 192.168.1.64


    qiu
     
  8. falko

    falko Super Moderator

    Try this:

    Code:
    auto eth0
    iface eth0 inet static
            address 192.168.1.50
            netmask 255.255.255.0
            network 192.168.[B][COLOR="Red"]1[/COLOR][/B].0
            broadcast 192.168.[B][COLOR="Red"]1[/COLOR][/B].255
            gateway 192.168.[B][COLOR="Red"]1.64[/COLOR][/B]
     
  9. qiu

    qiu New Member

    xen howto--static ip

    Many thanks for your post.

    I tried what you said and in worked ok
    etc/init.d/networking was a success.

    in reslove.conf

    the wording I changed to
    search server

    the original nameservers were
    212.23.6.100
    212.23.3.100
    192.168.1.1

    i changedthat to
    212.23.6.100
    212.23.3.100

    when doing apt-get update could not resolve
    so
    changed to
    212.23.6.100
    212.23.3.100
    192.168.1.64

    no joy could not resolve

    212.23.6.100
    212.23.3.100
    192.168.1.50

    no joy then

    212.23.6.100
    212.23.3.100
    192.168.1.1

    113 no route to host

    i noticed that the IPV6 over IPV4 tunneling driver loaded.

    I was able to do apt-get remove
    exim4 exim4-base lpr nfs-common portmap pidentd pcmcia-cs
    pppoe pppoeconf ppp pppconfig

    any ideas about resolv

    qiu

    ps also i did echo xstation.4096.net > /etc/hostname
    /bin/hostname -F /etc/hostname
     
    Last edited: Apr 10, 2006
  10. falko

    falko Super Moderator

    Try this in /etc/resolv.conf:

    Code:
    nameserver 145.253.2.75
    nameserver 193.174.32.18
    nameserver 194.25.0.60
     
  11. qiu

    qiu New Member

    xen 3.01

    well I found a error on my part that was I gave xstation.4096.net
    to hostname it should be xstation.

    However this name no diffrence apt-get will not resolve or says temporaty cannot resolve.

    eth0 is fine
    link-up 100Mbs full-duplex lpa 0x45E1

    my source list is like so:
    #deb file:///cdrom/ sarge main

    deb http://ftp.uk.debian.org/debian/ stable main
    deb-src http://ftp.uk.debian.org/debian/ stable main

    deb http://security.debian.org/ stable/updates main

    seems strange.

    qiu;)
     
  12. falko

    falko Super Moderator

    Did you change /etc/resolv.conf as suggested?
    What's the output of

    Code:
    ping -c4 www.google.com
    and

    Code:
    ping -c4 216.239.59.99
    ?
     
  13. qiu

    qiu New Member

    xen 3.01

    unkonwn host www.google.com

    yes i put the nameservers you gave me in


    216.239.59.99 56(84) bytes of data

    from 192.168.1.50 icmp-seq=1 destination hosunreachable
    this happens 4 times

    4 pk transmitted 0 received

    +4 errors 100% loss

    qiu:rolleyes:
     
  14. falko

    falko Super Moderator

    Ok, it's not a problem with domain name resolution; you simply don't have a network connection.
    What's the output of
    Code:
    ifconfig
    on vm01?
    Did you install the Xen binary or from the sources?
    What does the configuration file for the virtual machine look like?
     
  15. qiu

    qiu New Member

    here is ifconfig
    eth0 Link encap:Ethernet HWaddr 00:0F:B0:5C:AF:1F
    intel addr: 192.168.1.50 Broadcast 192.168.1.255 Mask 255:255:255:0
    inet6 addr: fe80::20f:b0ff:fe5c:af1f/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:378 (378.0b)
    Interrupt:177 Base address:0xa000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


    no xen has not been installed yet
    I have chaged the men.lst to


    title Debian GNU/Linux, kernel 2.6.8-2-386
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda2 ro
    initrd /boot/initrd.img-2.6.8-2-386
    savedefault
    boot

    title Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/hda2 ro single
    initrd /boot/initrd.img-2.6.8-2-386
    savedefault
    boot

    title Xen 3.0.1 / XenLinux 2.6.12-xen0
    root (hd0,1)
    kernel /boot/xen.gz dom0_mem=65536
    module /boot/vmlinuz-2.6-xen0 root=/dev/hda2 ro console=tty0


    I have changed the nameservers at your reuest
    and interfaces looks like this

    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    auto eth0
    iface eth0 inet static
    address 192.168.1.50
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    gateway 192.168.1.64


    I have
    echo xstation > /etc/hostname
    /bin/hostname -F /etc/hostname

    and

    was able to do apt-get remove
    exim4 exim4-base lpr nfs-common portmap pidentd pcmcia-cs
    pppoe pppoeconf ppp pppconfig



    thats as far AS i have got.


    qiu
     
  16. falko

    falko Super Moderator

    And your router is 192.168.1.64?
    What's the output of
    Code:
    ping -c4 192.168.1.64
    ?
    What's the output of
    Code:
    route -nee
    ?
     
  17. qiu

    qiu New Member

    xen 3.01

    192.168.1.64 yes router

    ping -c4 192.168.1.64

    from 192.168.1. 50 icm sq 9 destination host unreachable

    route -nee

    destinastion gateway genmask flags metric ref us Iface window
    192.168.1.0 0. 0.0.0.0 255.255.255.0 u 0 0 0 eth0 0
    00 0 0 192.168.1.64 0.0. 0.0.0 ug 0 0 0 etho


    192.168.1.0 =destination
    192.168.1.64= gateway

    genmask=255.255.255.0

    fCHANGED GATEWAY TO 192.168.1.1 works fine (as amentioned in post 7)
     
    Last edited: Apr 13, 2006
  18. falko

    falko Super Moderator

    Then 192.168.1.1 seems to be your gateway. Try

    Code:
    auto eth0
    iface eth0 inet static
            address 192.168.1.50
            netmask 255.255.255.0
            network 192.168.1.0
            broadcast 192.168.1.255
            gateway 192.168.1.[B][COLOR="Red"]1[/COLOR][/B]
    in /etc/network/interfaces and restart the network:
    Code:
    /etc/init.d/networking restart
     

Share This Page