Displaying 20 results from an estimated 23 matches for "siocgifflags".
2006 Jan 26
0
smbclient failure
...pen("/usr/local/lib/samba/valid.dat",0x0,00) = 4 (0x4)
mmap(0x0,65536,(0x1)PROT_READ,(0x1)MAP_SHARED,4,0x0) = 677437440 (0x2860e000)
close(4) = 0 (0x0)
socket(0x2,0x2,0x0) = 4 (0x4)
ioctl(4,SIOCGIFCONF,0xbfbfb090) = 0 (0x0)
ioctl(4,SIOCGIFADDR,0xbfbfb0a0) = 0 (0x0)
ioctl(4,SIOCGIFFLAGS,0xbfbfb0a0) = 0 (0x0)
ioctl(4,SIOCGIFNETMASK,0xbfbfb0a0) = 0 (0x0)
ioctl(4,SIOCGIFADDR,0xbfbfb0e8) = 0 (0x0)
ioctl(4,SIOCGIFFLAGS,0xbfbfb0e8) = 0 (0x0)
ioctl(4,SIOCGIFNETMASK,0xbfbfb0e8) = 0 (0x0)
ioctl(4,SIOCGIFADDR,0xbfbfb114) = 0 (0x0)
ioctl(4,SIOCGIFFLAGS,0xbfbfb114) = 0 (0x0)
i...
2009 Dec 18
3
xen "set encode" (8b2a) problem
Hi my friends,
I am running into a problem with my NIC.
[root@xxxx ~]# ifup eth0
Error for wireless request "Set Encode" (8B2A) :
SET failed on device eth0 ; No such device.
SIOCGIFFLAGS: No such device
Failed to bring up eth0.
eth0 is not a wireless device. Below are some information about my host:
[root@xxxx ~]# lspci |grep -i ether
00:04.0 Ethernet controller: Intel Corporation 82541GI Gigabit Ethernet Controller (rev 05)
00:05.0 Ethernet controller: Intel Corporation 82541GI...
2007 Sep 25
4
No eth0 device found in domU
Hi,
I tried already a long time to enable network in my domU but I always
fail with:
# ifconfig eth0 192.168.0.1 up
SIOCSIFADDR: No such device
SIOCGIFFLAGS: No such device
Do I need to load a kernel module?
I use OpenSuse 10.2 with kernel 2.6.18.8-0.5-xen (for both domU and dom0).
My config:
kernel = "/boot/vmlinuz-xen"
ramdisk = "/home/jens/initrd.gz"
memory = 1024
name = "debian"
disk = [ "/home/jens/hda,hda1,w...
2006 Aug 02
0
no PROMISC mode ..
...:
- The case it shows the flag with iproute is
because it''s using a single flag set.
That was working on kernels linux <2.1.x. (2.0 etc.)
Basically the mechanism was :
---
strncpy(ifr.ifr_name, our_device, IFNAMSIZ);
ioctl(sock, SIOCGIFFLAGS, &ifr);
ifr.ifr_flags |= IFF_PROMISC;
ioctl(sock, SIOCSIFFLAGS, &ifr);
---
And only one could set the IFF_PROMISC, because if another process
decided to set it too, then it was cleared...
- Now, with kernels 2.2 and onwards, we have a diffe...
2009 Nov 02
0
[PATCHv4 3/6] qemu/net: add raw backend
...tons(ETH_P_ALL);
+ lladdr.sll_ifindex = req.ifr_ifindex;
+ ret = bind(fd, (const struct sockaddr *)&lladdr, sizeof(lladdr));
+ if (ret < 0)
+ fprintf(stderr, "bind failed\n");
+
+ /* set iface to promiscuous mode (packets sent to the VM MAC) */
+ if (promisc) {
+ ret = ioctl(fd, SIOCGIFFLAGS, &req);
+ if (ret < 0)
+ perror("SIOCGIFFLAGS failed\n");
+ req.ifr_flags |= IFF_PROMISC;
+ ret = ioctl(fd, SIOCSIFFLAGS, &req);
+ if (ret < 0)
+ fprintf(stderr, "SIOCSIFFLAGS to promiscous failed\n");
+ }
+
+ ret = fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O...
2009 Nov 02
0
[PATCHv4 3/6] qemu/net: add raw backend
...tons(ETH_P_ALL);
+ lladdr.sll_ifindex = req.ifr_ifindex;
+ ret = bind(fd, (const struct sockaddr *)&lladdr, sizeof(lladdr));
+ if (ret < 0)
+ fprintf(stderr, "bind failed\n");
+
+ /* set iface to promiscuous mode (packets sent to the VM MAC) */
+ if (promisc) {
+ ret = ioctl(fd, SIOCGIFFLAGS, &req);
+ if (ret < 0)
+ perror("SIOCGIFFLAGS failed\n");
+ req.ifr_flags |= IFF_PROMISC;
+ ret = ioctl(fd, SIOCSIFFLAGS, &req);
+ if (ret < 0)
+ fprintf(stderr, "SIOCSIFFLAGS to promiscous failed\n");
+ }
+
+ ret = fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O...
2016 Jan 19
2
tinc running openwrt (mikrotik metarouter mips)
...when
trying to run tinc daemon. Below is my debug output. Please help.. How do I
fix tunnel interface error?
root at OpenWrt:/etc/tinc/vpn# tincd -n vpn -D -d3
tincd 1.0.21 (Mar 9 2014 18:26:59) starting, debug level 3
/dev/net/tun is a Linux ethertap device
Executing script tinc-up
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCSIFADDR: No such device
Script tinc-up exited with non-zero status 1
Creating metasocket failed: Address family not supported by protocol
Listening on 0.0.0.0 port 655
Ready
Trying to connect to vpn_gw2 (x.x.x.x port 655)
Error while reading from Linux ethertap...
2016 Jan 19
2
tinc running openwrt (mikrotik metarouter mips)
...ts created -- I don't remember having to do anything special
> (but it was a long time ago when I set it up).
>
> However, I do start tinc using "/etc/init.d/tinc start", not by running
> tincd directly.
>
> > Executing script tinc-up
> >
> > ifconfig: SIOCGIFFLAGS: No such device
> >
> > ifconfig: SIOCSIFADDR: No such device
> >
> > Script tinc-up exited with non-zero status 1
>
> That doesn't look good!
>
> My /etc/tinc/NETWORK/tinc-up file contains:
>
> #!/bin/sh
> ifconfig $INTERFACE 1.2.3.4 netmask 255.255...
2010 Nov 22
7
local address announcements
Hi everyone,
you can find the current version of my enhanced tinc using subversion:
svn://tardyon.mon-clan.de/tinc
I allowed anonymous read access, so feel free to download the sources.
Unfortunately, my enhancements are based on a rather old git-checkout from
Guus.
The version should run under windows and Debian/Ubuntu.
Best,
Daniel
-----Original Message-----
From: folkert [mailto:folkert
2016 Jan 19
0
tinc running openwrt (mikrotik metarouter mips)
...don't know how the tun
device gets created -- I don't remember having to do anything special
(but it was a long time ago when I set it up).
However, I do start tinc using "/etc/init.d/tinc start", not by running
tincd directly.
> Executing script tinc-up
>
> ifconfig: SIOCGIFFLAGS: No such device
>
> ifconfig: SIOCSIFADDR: No such device
>
> Script tinc-up exited with non-zero status 1
That doesn't look good!
My /etc/tinc/NETWORK/tinc-up file contains:
#!/bin/sh
ifconfig $INTERFACE 1.2.3.4 netmask 255.255.0.0
/etc/init.d/firewall reload
(with the real I...
2006 Apr 25
0
Dom0 problems on Slackware 10.2
...) number of vcpus to use is 0
[2006-04-23 21:04:11 xend.XendDomainInfo] DEBUG (XendDomainInfo:877) XendDomainInfo.handleShutdownWatch
xend-debug.log says:
Device "1" does not exist.
Device "1" does not exist.
Device "1" does not exist.
Cannot find device "1"
SIOCGIFFLAGS: No such device
I did copy the contents of /etc/hotplug.d into /etc/hotplug, then replaced /etc/hotplug.d with a soft link to /etc/hotplug. System has udev and hotplug.
Can anyone give me any pointers on debugging this one? I''ve gotten it to work in the past on Slackware, don''...
2008 Jul 22
0
RE : No peth after installing Xen
>[root@localhost ~]# /etc/xen/scripts/network-bridge start
>
>Device "static" does not exist.
>
>usage: ifdown <device name>
>
>Device "static" does not exist.
>
>Cannot find device "static"
>
>SIOCGIFFLAGS: No such device
requirements:
- Interface (eth1) must be "up". (ifup eth1)
(setting "ifconfig eth1 IP" would not working)
- logical interfaces (debian:man interfaces: eth0=HOME) would not working
for more flexibility do
- change config to: "(network-script network-bridg...
2016 Jan 19
0
tinc running openwrt (mikrotik metarouter mips)
...er having to do anything special
>> (but it was a long time ago when I set it up).
>>
>> However, I do start tinc using "/etc/init.d/tinc start", not by running
>> tincd directly.
>>
>> > Executing script tinc-up
>> >
>> > ifconfig: SIOCGIFFLAGS: No such device
>> >
>> > ifconfig: SIOCSIFADDR: No such device
>> >
>> > Script tinc-up exited with non-zero status 1
>>
>> That doesn't look good!
>>
>> My /etc/tinc/NETWORK/tinc-up file contains:
>>
>> #!/bin/sh
>>...
2003 Mar 04
0
smaba 3.0 - domain groups : OS info
...; Sent: Tuesday, March 04, 2003 11:57 AM
> To: Ken Innes; Kristyan Osborne; Samba Users
> Subject: Re: [Samba] smaba 3.0 - domain groups
>
>
> i use 'truss' to trace the system calls (nmbd proccess) after 'wbinfo -g'
> request. it returns
>
> ioctl(14,SIOCGIFFLAGS,0xbfbfcdc0) = 0 (0x0)
> ioctl(14,SIOCGIFNETMASK,0xbfbfcdc0) = 0 (0x0)
> ioctl(14,SIOCGIFADDR,0xbfbfcde0) ERR#49 'Can't assign requested address'
> ioctl(14,SIOCGIFADDR,0xbfbfce28) ERR#49 'Can't assign requested address'
> ioctl(14,SIOCGIFADDR,0xbfbfce...
2008 Jul 03
2
[PATCH 1/3] tun: Interface to query tun/tap features.
The problem with introducing checksum offload and gso to tun is they
need to set dev->features to enable GSO and/or checksumming, which is
supposed to be done before register_netdevice(), ie. as part of
TUNSETIFF.
Unfortunately, TUNSETIFF has always just ignored flags it doesn't
understand, so there's no good way of detecting whether the kernel
supports new IFF_ flags.
This patch
2008 Jul 03
2
[PATCH 1/3] tun: Interface to query tun/tap features.
The problem with introducing checksum offload and gso to tun is they
need to set dev->features to enable GSO and/or checksumming, which is
supposed to be done before register_netdevice(), ie. as part of
TUNSETIFF.
Unfortunately, TUNSETIFF has always just ignored flags it doesn't
understand, so there's no good way of detecting whether the kernel
supports new IFF_ flags.
This patch
2009 Apr 01
1
Server with 2 Nics (continuation)
...ed on device eth1 ; No such device.
Determining IP information for eth1...SIOCSIFADDR: No such device
eth1: unknown interface: No such device
eth1: unknown interface: No such device
failed.
Error for wireless request "Set Encode" (8B2A) :
SET failed on device eth0 ; No such device.
SIOCGIFFLAGS: No such device
Failed to bring up eth0.
---->
Thus, though 2 bridges were correctly created (with the appropriate
IP''s), the physical devices are down!
Any insights?
Cheers,
N.
--
==============================================
Nuno Ricardo Santos Loureiro da Silva Ferreira
NMR...
2008 Jun 25
3
[PATCH 1/4] tun: Interface to query tun/tap features.
The problem with introducing checksum offload and gso to tun is they
need to set dev->features to enable GSO and/or checksumming, which is
supposed to be done before register_netdevice(), ie. as part of
TUNSETIFF.
Unfortunately, TUNSETIFF has always just ignored flags it doesn't
understand, so there's no good way of detecting whether the kernel
supports new IFF_ flags.
This patch
2008 Jun 25
3
[PATCH 1/4] tun: Interface to query tun/tap features.
The problem with introducing checksum offload and gso to tun is they
need to set dev->features to enable GSO and/or checksumming, which is
supposed to be done before register_netdevice(), ie. as part of
TUNSETIFF.
Unfortunately, TUNSETIFF has always just ignored flags it doesn't
understand, so there's no good way of detecting whether the kernel
supports new IFF_ flags.
This patch
2008 Jun 11
1
xen migrate never ends
...t `/tmp/maquina/domains/prueba2/swap.img'': No such file
or directory
xenstore-read: couldn''t read path backend/vbd/7/769/node
xenstore-read: couldn''t read path backend/vbd/7/770/node
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
SIOCGIFFLAGS: No such device
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
xenstore-read: couldn''t read path backend/vbd/3/768/node
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
Nothing to flush.
N...