arch wiki xen installation questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello

I am trying to install xen.  I am using this page as a guide:
https://wiki.archlinux.org/index.php/Xen

I have a problem where I can not get the commands for setting up the
networking bridge to work.  During the xen installation, I noted that it
uses netctl instead of netcfg.  I made those changes and if I boot my
regular kernel it appears to work with a wifi connection.  Here is the
result of some command regarding networking with regular kernel.

[root@t61p ~]# netctl list
  xenbridge-dhcp
* wlan0-hs-dlink
  wlan0-hs-dlink.wifi-menu
[root@t61p ~]#

I believe this command shows that wlan0-hs-dlink is the active profile and
is enabled at boot automatically.  For instance:

[root@t61p ~]# systemctl | grep hs-dlink
netctl@wlan0\x2dhs\x2ddlink.service                  loaded active exited
 Networking for netctl profile wlan0-hs-dlink
[root@t61p ~]#

This is a result of systemd having  netctl@wlan0\x2dhs\x2ddlink.service in
the /etc/systemd/system/multi-user.target.wants directory.

So it looks ok for having networking via wifi working in regular linux
kernel.
As far as xen and bridge goes, I created the following file
/etc/netctl/xenbridge-dhcp with the following contents:

Description="Xen Bridge connection"
Interface=xenbr0
Connection=bridge
BindsToInterfaces=(wlan0 wlan1 tap0)
IP=dhcp

Basically, I used the example given on the arch xen wiki page and changed
eth0 to wlan0 and eth1 to wlan1.  When I try to start the xenbr0 (bridge) I
get an error about tap0 not found.  This is the command I issue (bascially
from the wiki) and the result from journalctl

# netctl start xenbridge-dhcp

-- Unit netctl@xenbridge\x2ddhcp.service has begun starting up.
Oct 08 19:42:45 t61p network[525]: Starting network profile
'xenbridge-dhcp'...
Oct 08 19:42:45 t61p systemd-udevd[530]: error opening
ATTR{/sys/devices/virtual/net/xenbr0/address} for writing: Permissio
Oct 08 19:42:45 t61p systemd-udevd[530]: error opening
ATTR{/sys/devices/virtual/net/xenbr0/address} for writing: Permissio
Oct 08 19:42:45 t61p systemd-udevd[530]: error opening
ATTR{/sys/devices/virtual/net/xenbr0/address} for writing: Permissio
Oct 08 19:42:45 t61p systemd-udevd[530]: error changing net interface name
xenbr0 to eth0: File exists
Oct 08 19:42:45 t61p kernel: device wlan0 entered promiscuous mode
Oct 08 19:42:45 t61p dhcpcd[503]: wlan0: removing IP address
192.168.0.114/24
Oct 08 19:42:45 t61p dhcpcd[503]: wlan0: removing route to 192.168.0.0/24
Oct 08 19:42:45 t61p network[525]: RTNETLINK answers: Operation not
supported
Oct 08 19:42:45 t61p network[525]: Cannot find device "wlan1"
Oct 08 19:42:45 t61p network[525]: Cannot find device "wlan1"
Oct 08 19:42:45 t61p network[525]: Cannot find device "tap0"
Oct 08 19:42:45 t61p network[525]: Cannot find device "tap0"
Oct 08 19:42:45 t61p dhcpcd[591]: version 6.0.5 starting
Oct 08 19:42:45 t61p dhcpcd[591]: xenbr0: soliciting a DHCP lease
Oct 08 19:42:55 t61p dhcpcd[591]: timed out
Oct 08 19:42:55 t61p dhcpcd[591]: exited
Oct 08 19:42:55 t61p network[525]: DHCP IP lease attempt failed on
interface 'xenbr0'
Oct 08 19:42:55 t61p network[525]: Failed to bring the network up for
profile 'xenbridge-dhcp'
Oct 08 19:42:55 t61p systemd[1]: netctl@xenbridge\x2ddhcp.service: main
process exited, code=exited, status=1/FAILURE
Oct 08 19:42:55 t61p systemd[1]: Failed to start Networking for netctl
profile xenbridge-dhcp.
-- Subject: Unit netctl@xenbridge\x2ddhcp.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation:
http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
-- 
-- Unit netctl@xenbridge\x2ddhcp.service has failed.
-- 
-- The result is failed.

Any advice is appreciated.


-- 
John F. Davis
6 Kandes Court
Durham, NC 27713
919-888-8358

独树一帜


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux