search for: if_name

Displaying 20 results from an estimated 61 matches for "if_name".

2018 Dec 04
2
[PATCH FOR DISCUSSION ONLY 0/2] v2v: Copy static IP address information over for Windows guests (RHBZ#1626503).
This patch is just for discussion. There are still a couple of issues that I'm trying to fix. One is that all of the test guests I have, even ones with static IPs, have multiple interfaces, some using DHCP, so the conditions for adding the Powershell script don't kick in. This makes testing very awkward. However a bigger issue is that I think the premise is wrong. In some registries
2018 Dec 11
2
[PATCH v2 2/2] v2v: Copy static IP address information over for Windows guests (RHBZ#1626503).
v1 was here with much discussion: https://www.redhat.com/archives/libguestfs/2018-December/msg00048.html v2: - Fix the case where there are multiple interfaces. Note this does not preserve order correctly (see patch for comment on why that is a hard problem). - Preserve name servers. This patch is still for discussion only. I'd like to see what might be done to get this upstream
2016 Jan 26
2
[PATCH] p2v: User can click on an interface name to identify the physical interface.
When the user clicks on the second column of the list of network interfaces, run 'ethtool --identify <if_name> 10', which (on supported cards) flashes a light on the physical interface for 10 seconds, allowing it to be identified by the operator. This has a nasty bit of hidden UI, basically because Gtk makes it near impossible to put a regular button into a GtkTreeView. --- p2v/gui.c | 67 +...
2016 Jan 26
1
[PATCH v2] p2v: User can click on an interface name to identify the
v1 -> v2: Added a (now blue) underlined "Identify interface" link. It's not really a link, but it looks like one, so hopefully should resolve the previous UI issue. Rich.
2016 Jan 26
3
Re: [PATCH] p2v: User can click on an interface name to identify the physical interface.
On Tue, Jan 26, 2016 at 06:14:18PM +0100, Pino Toscano wrote: > On Tuesday 26 January 2016 15:38:07 Richard W.M. Jones wrote: > > When the user clicks on the second column of the list of network > > interfaces, run 'ethtool --identify <if_name> 10', which (on supported > > cards) flashes a light on the physical interface for 10 seconds, > > allowing it to be identified by the operator. > > > > This has a nasty bit of hidden UI, basically because Gtk makes it near > > impossible to put a regular butto...
2018 Oct 01
7
[PATCH v2 API PROPOSAL 0/5] inspection Add network interfaces to inspection data.
The proposed API is the same as v1, but this includes an implementation (for /etc/sysconfig/network-scripts/ifcfg-*) and modifications to virt-inspector. This compiles and works. If you look in patch 5 you can see proposed output as virt-inspector XML for a guest (although this guest has not been booted, so a real guest would hopefully have a hwaddr="MAC" attribute too). Rich.
2008 Mar 04
1
Rejecting spam
...he past to give temporary fail messages. Following is my sendmail.m4 directive for spamass-milter: INPUT_MAIL_FILTER(`spamassassin', `S=unix:/var/run/spamass-milter/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl define(`confMILTER_MACROS_CONNECT',`t, b, j, _, {daemon_name}, {if_name}, {if_addr}')dnl define(`confMILTER_MACROS_HELO',`s, {tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}')dnl
2019 Dec 03
0
[p2v PATCH 6/6] Remove whole-file.c
...le.am @@ -124,8 +124,7 @@ virt_p2v_SOURCES = \ physical-xml.c \ rtc.c \ ssh.c \ - utils.c \ - whole-file.c + utils.c generated_sources = \ config.c \ diff --git a/p2v.h b/p2v.h index adace84..a14edc5 100644 --- a/p2v.h +++ b/p2v.h @@ -125,9 +125,6 @@ extern char *get_if_addr (const char *if_name); extern char *get_if_vendor (const char *if_name, int truncate); extern void wait_network_online (const struct config *); -/* whole-file.c */ -extern int read_whole_file (const char *filename, char **data_r, size_t *size_r); - /* virt-v2v version and features (read from remote). */ extern ch...
2018 Oct 01
4
[PATCH API PROPOSAL 0/2] inspection: Add network interfaces to inspection data.
As part of the fix for: https://bugzilla.redhat.com/show_bug.cgi?id=1626503 I'm proposing to add two new APIs to fetch information about the list of network interfaces of an existing guest. These two patches outline the proposed API but with no implementation or tests. However they can be applied and compiled. Please see the second patch for the proposed API. I have a mostly working
2015 Nov 16
0
[PATCH] p2v: Send physical server 'dmesg' output to debug dir on conversion server.
...ig *, const char *remote_dir, const char *libvirt_xml); +extern mexp_h *start_remote_connection (struct config *, const char *remote_dir, const char *libvirt_xml, const char *dmesg); extern const char *get_ssh_error (void); /* utils.c */ @@ -124,6 +124,9 @@ extern char *get_if_addr (const char *if_name); extern char *get_if_vendor (const char *if_name, int truncate); extern void wait_network_online (const struct config *); +/* whole-file.c */ +extern int read_whole_file (const char *filename, char **data_r, size_t *size_r); + /* virt-v2v version and features (read from remote). */ extern in...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 07/13] lguest64 loader
...+{ + unsigned int byte[4]; + + sscanf(ipaddr, "%u.%u.%u.%u", &byte[0], &byte[1], &byte[2], &byte[3]); + return (byte[0] << 24) | (byte[1] << 16) | (byte[2] << 8) | byte[3]; +} + +/* adapted from libbridge */ +static void add_to_bridge(int fd, const char *if_name, const char *br_name) +{ + int r, ifidx; + struct ifreq ifr; + + if (!*br_name) + errx(1, "must specify bridge name"); + + ifidx = if_nametoindex(if_name); + if (!ifidx) + errx(1, "interface %s does not exist!\n", if_name); + + strncpy(ifr.ifr_name, br_name, IFNAMSIZ); + ifr.i...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 07/13] lguest64 loader
...+{ + unsigned int byte[4]; + + sscanf(ipaddr, "%u.%u.%u.%u", &byte[0], &byte[1], &byte[2], &byte[3]); + return (byte[0] << 24) | (byte[1] << 16) | (byte[2] << 8) | byte[3]; +} + +/* adapted from libbridge */ +static void add_to_bridge(int fd, const char *if_name, const char *br_name) +{ + int r, ifidx; + struct ifreq ifr; + + if (!*br_name) + errx(1, "must specify bridge name"); + + ifidx = if_nametoindex(if_name); + if (!ifidx) + errx(1, "interface %s does not exist!\n", if_name); + + strncpy(ifr.ifr_name, br_name, IFNAMSIZ); + ifr.i...
2016 Jan 26
0
Re: [PATCH] p2v: User can click on an interface name to identify the physical interface.
On Tuesday 26 January 2016 15:38:07 Richard W.M. Jones wrote: > When the user clicks on the second column of the list of network > interfaces, run 'ethtool --identify <if_name> 10', which (on supported > cards) flashes a light on the physical interface for 10 seconds, > allowing it to be identified by the operator. > > This has a nasty bit of hidden UI, basically because Gtk makes it near > impossible to put a regular button into a GtkTreeView. &gt...
2016 Jan 26
0
Re: [PATCH] p2v: User can click on an interface name to identify the physical interface.
...ard W.M. Jones wrote: > On Tue, Jan 26, 2016 at 06:14:18PM +0100, Pino Toscano wrote: > > On Tuesday 26 January 2016 15:38:07 Richard W.M. Jones wrote: > > > When the user clicks on the second column of the list of network > > > interfaces, run 'ethtool --identify <if_name> 10', which (on supported > > > cards) flashes a light on the physical interface for 10 seconds, > > > allowing it to be identified by the operator. > > > > > > This has a nasty bit of hidden UI, basically because Gtk makes it near > > > impossib...
2016 Jun 22
0
[PATCH 4/4] p2v: add -x option to nm-online
...after anyway when attempting to connect to the conversion server using ssh. --- p2v/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2v/utils.c b/p2v/utils.c index c4f82cd..746093b 100644 --- a/p2v/utils.c +++ b/p2v/utils.c @@ -139,7 +139,7 @@ get_if_vendor (const char *if_name, int truncate) } /* XXX We could make this configurable. */ -#define NETWORK_ONLINE_COMMAND "nm-online -t 30" +#define NETWORK_ONLINE_COMMAND "nm-online -t 30 -x" /** * Wait for the network to come online, but don't error out if that -- 2.6.6
2007 Apr 03
1
any help installing 4.4 for s390 (or s390x) on Z9-BC?
...mask, fqdn, and so on), I typically get messages somewhat like the one below (copied verbatim from the s390x with 4.4 attempt): IPv6 over IPv4 tunneling driver divert: not allocating divert_blk for non-ethernet device sit0 qeth: loading qeth S/390 OSA-Express driver cat: /sys/devices/qeth/0xe38/if_name: No such file or directory SIOCSIFNETMASK: No such device SIOCSIFBRDADDR: No such device Can anyone shed a little light on what I should be doing? I have a feeling that I'm just not seeing the 800-lb gorilla in the room..... Thanks, -- Kelly F. Hickel Senior Software Archite...
2007 May 09
0
[patch 9/9] lguest: the documentation, example launcher
...+{ + unsigned int byte[4]; + + sscanf(ipaddr, "%u.%u.%u.%u", &byte[0], &byte[1], &byte[2], &byte[3]); + return (byte[0] << 24) | (byte[1] << 16) | (byte[2] << 8) | byte[3]; +} + +/* adapted from libbridge */ +static void add_to_bridge(int fd, const char *if_name, const char *br_name) +{ + int ifidx; + struct ifreq ifr; + + if (!*br_name) + errx(1, "must specify bridge name"); + + ifidx = if_nametoindex(if_name); + if (!ifidx) + errx(1, "interface %s does not exist!", if_name); + + strncpy(ifr.ifr_name, br_name, IFNAMSIZ); + ifr.ifr_if...
2007 May 09
0
[patch 9/9] lguest: the documentation, example launcher
...+{ + unsigned int byte[4]; + + sscanf(ipaddr, "%u.%u.%u.%u", &byte[0], &byte[1], &byte[2], &byte[3]); + return (byte[0] << 24) | (byte[1] << 16) | (byte[2] << 8) | byte[3]; +} + +/* adapted from libbridge */ +static void add_to_bridge(int fd, const char *if_name, const char *br_name) +{ + int ifidx; + struct ifreq ifr; + + if (!*br_name) + errx(1, "must specify bridge name"); + + ifidx = if_nametoindex(if_name); + if (!ifidx) + errx(1, "interface %s does not exist!", if_name); + + strncpy(ifr.ifr_name, br_name, IFNAMSIZ); + ifr.ifr_if...
2003 Jun 17
2
System panic (mpd related?)
...tf_ebp = -1069343272, tf_isp = -1069343300, tf_ebx = -1068928958, tf_edx = 5, tf_ecx = 4, tf_eax = 65, tf_trapno = 12, tf_err = 0, tf_eip = -1071165571, tf_cs = 8, tf_eflags = 66054, tf_esp = -1038243328, tf_ss = -1038243328}) at /usr/src/sys/i386/i386/trap.c:466 #16 0xc0274f7d in if_name (ifp=0x5bdcf9e0) at /usr/src/sys/net/net_osdep.c:62 #17 0xc029798d in in6_purgeaddr (ifa=0xc21daa00) at /usr/src/sys/netinet6/in6.c:1186 #18 0xc02a563c in nd6_timer (ignored_arg=0x0) at /usr/src/sys/netinet6/nd6.c:579 #19 0xc022fa21 in softclock () at /usr/src/sys/kern/kern_timeout.c:131 #20 0xc039...
2010 Nov 08
18
implementation of IEEE 802.1Qbg in lldpad
Hi, this set of patches contains the initial implementation of the IEEE 802.1Qbg standard: code for the exchange of EVB TLVs in LLDP frames to negotiate VSI capabalities as well as VDP VSI TLVs between a host with virtual machines and an adjacent switch. It supports setting the parameters of the TLV exchange from the command line using lldptool. VDP profiles consisting of