search for: siocsifhwaddr

Displaying 13 results from an estimated 13 matches for "siocsifhwaddr".

Did you mean: siocgifhwaddr
2001 May 08
4
tap1 problem
...k_dev Now, when I run the following command: /sbin/ifconfig tap0 hw ether fe:fd:00:00:00:00 It works without a problem. However, when I try to get the other tap1 device working, and type: /sbin/ifconfig tap1 hw ether fe:fd:00:00:00:00 This command gives the following error message: SIOCSIFHWADDR: No such device If I try a different MAC Address ( fe:fd:00:00:00:01 for instance ), I get exactly the same error. Can anyone see if I am doing something wrong, or missed a step out? Regards, Gillian. - Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.or...
2000 Nov 15
1
nets.boot
Chih-Wei Huang wrote: > Hi, > I just install tinc 1.0pre3 by rpm. > When I tried to start tincd by > /etc/rc.d/init.d/tinc start > It complained > **tinc: file with list of VPNs to start (/etc/tinc/nets.boot) not found! > However, I don't know what /etc/tinc/nets.boot is. > It was not mentioned in the manual page. > Could you explain what's the file > or give
2001 May 01
0
Tinc: tap0 probs
On Mon, Apr 30, 2001 at 03:57:25AM +0000, cuBe wrote: > Having some probs with setting up tap0: > > aibo:~# ifconfig tap0 hw ether fe:fd:00:00:00:00 > SIOCSIFHWADDR: No such device > > Now, I;ve checked everthing, and it all seems in order. I have compiled in > theUniversal TAP/TUN support, and Netlink (including CONFIG_NETLINK_DEV), > but to no avil, that error always comes up. Any chance you could help me? If you are using the recent 2.4 kernel...
2002 Aug 23
1
problem with tun/tap device
...ocess 504 (tinc-up) exited with non-zero status 255 Aug 23 03:25:27 router tinc.vpn[503]: Ready router:/etc/tinc/vpn# cat tinc-up #!/bin/sh ifconfig tap0 hw ether fe:fd:0:0:0:0 ifconfig tap0 10.1.1.1 netmask 255.0.0.0 ifconfig tap0 -arp router:/etc/tinc/vpn# ifconfig tap0 hw ether fe:fd:0:0:0:0 SIOCSIFHWADDR: No such device any ideas? best regards, Florian Prucker Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://tinc.nl.linux.org/
2001 Aug 27
2
ethertap device: File descriptor in bad state
...9 q tinc.vpn[971]: Connected to 55.55.55.55 port 30001 Aug 27 17:26:49 q tinc.vpn[971]: Error while reading from ethertap device: File descriptor in bad state Aug 27 17:26:50 q last message repeated 19806 times If I start tinc with the no detach option: tincd -n vpn -D -dddddddddd I get this: SIOCSIFHWADDR: No such device SIOCSIFADDR: No such device vpn: unknown interface: No such device SIOCSIFNETMASK: No such device vpn: unknown interface: No such device I have tinc configured to use the Universal Tun functionality; it is installed and running as a module. (I've also tried with tun compile...
2018 Nov 15
1
libvirt call qemu to create vm need more than 10 seconds
...Line 58723: 2018-11-13 14:22:30.131+0000: 95225: info : virObjectRef:296 : OBJECT_REF: obj=0x7f81f80166f0 Line 58724: 2018-11-13 14:22:30.131+0000: 95225: info : virNetDevProbeVnetHdr:208 : Enabling IFF_VNET_HDR Line 58772: 2018-11-13 14:22:30.132+0000: 95225: debug : virNetDevSetMACInternal:277 : SIOCSIFHWADDR vnet0 MAC=fe:54:00:28:29:1d - Success Line 58773: 2018-11-13 14:22:30.132+0000: 95225: debug : virFileClose:110 : Closed fd 25 Line 58775: 2018-11-13 14:22:30.132+0000: 95225: debug : virFileClose:110 : Closed fd 25 Line 58777: 2018-11-13 14:22:30.132+0000: 95225: debug : virFileClose:110 : Closed...
2004 Sep 30
4
Could not open /dev/net/tun
Hi, I am triying to configure a VPN, my configuration files are: ****************** TINC.CONF: Name = nova # The internet host to connect with. ConnectTo = nova2 Device = /dev/net/tun #Device name.. Leave as is. Interface = vpn #Virtual Interface name. Give any suitable name. #Mode = "router" #use Router mode
2008 Jul 12
4
[PATCH] tun: Fix/rewrite packet filtering logic
...;dev_addr)); - if (copy_to_user( argp, &ifr, sizeof ifr)) + /* Get hw addres */ + memcpy(ifr.ifr_hwaddr.sa_data, tun->dev->dev_addr, ETH_ALEN); + ifr.ifr_hwaddr.sa_family = tun->dev->type; + if (copy_to_user(argp, &ifr, sizeof ifr)) return -EFAULT; return 0; case SIOCSIFHWADDR: - { - /* try to set the actual net device's hw address */ - int ret; + /* Set hw address */ + DBG(KERN_DEBUG "%s: set hw address: %s\n", + tun->dev->name, print_mac(mac, ifr.ifr_hwaddr.sa_data)); rtnl_lock(); ret = dev_set_mac_address(tun->dev, &ifr.ifr_hwa...
2008 Jul 12
4
[PATCH] tun: Fix/rewrite packet filtering logic
...;dev_addr)); - if (copy_to_user( argp, &ifr, sizeof ifr)) + /* Get hw addres */ + memcpy(ifr.ifr_hwaddr.sa_data, tun->dev->dev_addr, ETH_ALEN); + ifr.ifr_hwaddr.sa_family = tun->dev->type; + if (copy_to_user(argp, &ifr, sizeof ifr)) return -EFAULT; return 0; case SIOCSIFHWADDR: - { - /* try to set the actual net device's hw address */ - int ret; + /* Set hw address */ + DBG(KERN_DEBUG "%s: set hw address: %s\n", + tun->dev->name, print_mac(mac, ifr.ifr_hwaddr.sa_data)); rtnl_lock(); ret = dev_set_mac_address(tun->dev, &ifr.ifr_hwa...
2007 Apr 18
0
[Bridge] BCP code ported to pppd 2.4.2
...0; + memset(&ifreq.ifr_hwaddr, 0, sizeof(struct sockaddr)); + strlcpy(ifreq.ifr_name, name, sizeof(ifreq.ifr_name)); + ret = ioctl(sock_fd, SIOCGIFHWADDR, &ifreq); + if (ret >= 0) { + memcpy(ifreq.ifr_hwaddr.sa_data, addr, 6); + ret = ioctl(sock_fd, SIOCSIFHWADDR, &ifreq); + } + close(sock_fd); + return ret; +} + +/* * get_if_hwaddr - get the hardware address for the specified * network interface device. */ ------------------- END SNIP ----------------------
2007 Apr 18
7
[Bridge] (no subject)
Dear Sir, I was trying to install bridge as we are installing scps gateway in our testbed.This requires us to install the bridge. Our Linux version is 2.4.18 ~3 and we are using redhat 7.2 Please let me know which is the bridge I should install and how to configure it. Before configuring the bridge what I should check in my configuration. Thanks for your time, Sincerely Rama ===== I hear
2011 Aug 12
11
[net-next RFC PATCH 0/7] multiqueue support for tun/tap
As multi-queue nics were commonly used for high-end servers, current single queue based tap can not satisfy the requirement of scaling guest network performance as the numbers of vcpus increase. So the following series implements multiple queue support in tun/tap. In order to take advantages of this, a multi-queue capable driver and qemu were also needed. I just rebase the latest version of
2011 Aug 12
11
[net-next RFC PATCH 0/7] multiqueue support for tun/tap
As multi-queue nics were commonly used for high-end servers, current single queue based tap can not satisfy the requirement of scaling guest network performance as the numbers of vcpus increase. So the following series implements multiple queue support in tun/tap. In order to take advantages of this, a multi-queue capable driver and qemu were also needed. I just rebase the latest version of