About this list Date view Thread view Subject view Author view Attachment view

From: Marvin Stark (Marvin.Stark_at_credativ.de)
Date: Fri 12 Aug 2005 - 09:06:20 BST


Good morning,

I got a problem with my network interface.
I installed my vServer with this commandline:

vserver vs1 build -m debootstrap --hostname vs1 --netdev eth0 --netbcast
192.168.3.255 --netmask 255.255.255.0 --interface eth0 -- -d sarge

After that i set my network settings:

echo "eth0" > /etc/vservers/vs1/interfaces/dev
echo "192.168.3.5" > /etc/vservers/vs1/interfaces/0/ip
echo "vserver1" > /etc/vservers/vs1/uts/nodename

than i started my vServer:
vserver vs1 start

than all is working fine:

Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Starting MTA: exim4.
Starting internet superserver: inetd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cron.

Now i enter the vServer:

vserver vs1 enter

now i look at my network settings(ifconfig):

eth0 Link encap:Ethernet HWaddr 00:E0:7D:DE:6E:3D
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:348 errors:0 dropped:0 overruns:0 frame:0
          TX packets:327 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:34742 (33.9 KiB) TX bytes:31143 (30.4 KiB)
          Interrupt:12 Base address:0xd400

so, there is no ip set.

if i restart my network interface i get this msg:
Setting up IP spoofing protection: /etc/init.d/networking: line
17: /proc/sys/net/ipv4/conf/all/rp_filter: Operation not permitted
/etc/init.d/networking: line
17: /proc/sys/net/ipv4/conf/default/rp_filter: Operation not permitted
/etc/init.d/networking: line 17: /proc/sys/net/ipv4/conf/eth0/rp_filter:
Operation not permitted
/etc/init.d/networking: line 17: /proc/sys/net/ipv4/conf/eth1/rp_filter:
Operation not permitted
/etc/init.d/networking: line 17: /proc/sys/net/ipv4/conf/lo/rp_filter:
Operation not permitted
rp_filter.
Reconfiguring network interfaces...SIOCSIFADDR: Permission denied
SIOCSIFFLAGS: Permission denied
SIOCSIFFLAGS: Permission denied
Failed to bring up lo.
Ignoring unknown interface eth0=eth0.

and when i shut down the vserver i get this msg:

Deactivating swap...umount: none: not found
umount: /tmp: must be superuser to umount
Not superuser.
done.
Unmounting local filesystems...umount: none: not found
umount: /tmp: must be superuser to umount
umount: /dev/hdv1: not found
umount: /: not mounted
done.
mount: permission denied
Rebooting... ifdown: shutdown eth0: Permission denied
ifdown: shutdown eth0: Permission denied
ifdown: shutdown eth1: Permission denied

I dont know how to fix this and i hope you can help me.

The hostmaschine is running with Debian GNU/LINUX 3.1 ('Sarge')
and Kernel 2.6.8. Iam using the debian vserver packages.

best regards,

Marvin

_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 12 Aug 2005 - 09:07:20 BST by hypermail 2.1.3