Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #186062
| From | Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | No ifconfig [Was: no /etc/inittab] |
| Date | 2017-08-28 09:40 +0200 |
| Message-ID | <ujmOm-2GD-13@gated-at.bofh.it> (permalink) |
| References | <ueK4W-1Pe-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Greg Wooledge:
>
>> wooledg:~$ ip link
>> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
>> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
>> link/ether a0:8c:fd:c3:89:e0 brd ff:ff:ff:ff:ff:ff
> Parsing the interface names out of THAT is significantly harder.
>
In support of my earlier point that some /other/ people /did/ make
modern |ifconfig| usable in such ways:
> JdeBP % ifconfig -l
> bge0 bge1 lo0 tun0
> JdeBP %
Here's something from a script of mine:
> list_available_network_interfaces() {
> case "`uname`" in
> Linux) /bin/ls /sys/class/net ;;
> *) ifconfig -l ;;
> esac
> }
(Note that this is as loose as it is because I'm only targetting
Linux-based operating systems and the BSDs so far here. Also note that
this breaks on OpenBSD which does not have the |-l| option to
|ifconfig|. Fixing that is on the to-do list.)
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
no /etc/inittab Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-14 11:50 +0200
Re: no /etc/inittab Erik Christiansen <dvalin@internode.on.net> - 2017-08-14 13:00 +0200
Re: no /etc/inittab Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-14 13:10 +0200
Re: no /etc/inittab Nicolas George <george@nsup.org> - 2017-08-14 13:40 +0200
Re: no /etc/inittab Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-14 13:50 +0200
Re: no /etc/inittab Brian <ad44@cityscape.co.uk> - 2017-08-14 18:10 +0200
Re: no /etc/inittab Joel Rees <joel.rees@gmail.com> - 2017-08-14 23:20 +0200
Re: no /etc/inittab Joe <joe@jretrading.com> - 2017-08-14 14:00 +0200
Re: no /etc/inittab Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-14 15:00 +0200
Re: no /etc/inittab Nicolas George <george@nsup.org> - 2017-08-14 15:30 +0200
Re: no /etc/inittab Joe <joe@jretrading.com> - 2017-08-14 15:50 +0200
Re: no /etc/inittab Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-14 16:00 +0200
Re: no /etc/inittab Darac Marjal <mailinglist@darac.org.uk> - 2017-08-14 16:10 +0200
Re: no /etc/inittab Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-14 16:30 +0200
Re: no /etc/inittab Darac Marjal <mailinglist@darac.org.uk> - 2017-08-14 16:40 +0200
Re: no /etc/inittab Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-14 18:30 +0200
Re: no /etc/inittab Henrique de Moraes Holschuh <hmh@debian.org> - 2017-08-14 16:30 +0200
Re: no /etc/inittab Joe <joe@jretrading.com> - 2017-08-14 17:30 +0200
Re: no /etc/inittab Henrique de Moraes Holschuh <hmh@debian.org> - 2017-08-14 18:20 +0200
Re: no /etc/inittab David Wright <deblis@lionunicorn.co.uk> - 2017-08-15 19:10 +0200
Re: no /etc/inittab Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-19 12:10 +0200
Re: no /etc/inittab David Wright <deblis@lionunicorn.co.uk> - 2017-08-19 22:10 +0200
Re: no /etc/inittab Joe <joe@jretrading.com> - 2017-08-19 23:00 +0200
Re: no /etc/inittab deloptes <deloptes@gmail.com> - 2017-08-14 16:30 +0200
No ifconfig [Was: no /etc/inittab] Erik Christiansen <dvalin@internode.on.net> - 2017-08-15 12:50 +0200
Re: No ifconfig [Was: no /etc/inittab] Nicolas George <george@nsup.org> - 2017-08-15 14:00 +0200
Re: No ifconfig [Was: no /etc/inittab] Erik Christiansen <dvalin@internode.on.net> - 2017-08-15 15:00 +0200
Re: No ifconfig [Was: no /etc/inittab] Dejan Jocic <jodejka@gmail.com> - 2017-08-15 15:10 +0200
Re: No ifconfig [Was: no /etc/inittab] Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-15 15:30 +0200
Re: No ifconfig [Was: no /etc/inittab] Erik Christiansen <dvalin@internode.on.net> - 2017-08-15 16:10 +0200
Re: No ifconfig [Was: no /etc/inittab] Darac Marjal <mailinglist@darac.org.uk> - 2017-08-15 16:20 +0200
Re: No ifconfig [Was: no /etc/inittab] Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-15 16:50 +0200
Re: No ifconfig Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-15 18:30 +0200
Re: No ifconfig Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-15 19:00 +0200
Re: No ifconfig Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-15 19:20 +0200
Re: No ifconfig David Wright <deblis@lionunicorn.co.uk> - 2017-08-15 20:30 +0200
Re: Re: No ifconfig [Was: no /etc/inittab] Clive Standbridge <list-user@tgstandbridges.plus.com> - 2017-08-16 10:00 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-16 11:00 +0200
Re: No ifconfig [Was: no /etc/inittab] <tomas@tuxteam.de> - 2017-08-16 12:00 +0200
Re: No ifconfig [Was: no /etc/inittab] Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-16 14:30 +0200
Re: Re: No ifconfig [Was: no /etc/inittab] Clive Standbridge <list-user@tgstandbridges.plus.com> - 2017-08-16 16:20 +0200
Re: Re: No ifconfig [Was: no /etc/inittab] <tomas@tuxteam.de> - 2017-08-16 16:40 +0200
Re: Re: Re: No ifconfig [Was: no /etc/inittab] Clive Standbridge <list-user@tgstandbridges.plus.com> - 2017-08-16 17:20 +0200
Re: No ifconfig Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-15 18:40 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-15 19:50 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-15 19:50 +0200
Re: No ifconfig David Wright <deblis@lionunicorn.co.uk> - 2017-08-15 20:20 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-15 21:00 +0200
Re: No ifconfig Brian <ad44@cityscape.co.uk> - 2017-08-15 22:00 +0200
Re: No ifconfig Curt <curty@free.fr> - 2017-08-15 22:10 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-16 04:00 +0200
Re: No ifconfig Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-15 19:50 +0200
No ifconfig [Was: no /etc/inittab] Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-28 09:40 +0200
Re: No ifconfig [Was: no /etc/inittab] Erik Christiansen <dvalin@internode.on.net> - 2017-08-15 15:30 +0200
Re: No ifconfig [Was: no /etc/inittab] Dejan Jocic <jodejka@gmail.com> - 2017-08-15 16:50 +0200
Re: No ifconfig [Was: no /etc/inittab] Nicolas George <george@nsup.org> - 2017-08-15 17:10 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-15 19:30 +0200
Re: No ifconfig [Was: no /etc/inittab] David Wright <deblis@lionunicorn.co.uk> - 2017-08-15 20:20 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-15 21:00 +0200
Re: No ifconfig [Was: no /etc/inittab] Brian <ad44@cityscape.co.uk> - 2017-08-15 21:50 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-16 04:00 +0200
Re: No ifconfig [Was: no /etc/inittab] Nicolas George <george@nsup.org> - 2017-08-15 20:20 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-15 21:00 +0200
Re: No ifconfig [Was: no /etc/inittab] Felix Miata <mrmazda@earthlink.net> - 2017-08-15 16:10 +0200
Re: No ifconfig [Was: no /etc/inittab] Henrique de Moraes Holschuh <hmh@debian.org> - 2017-08-15 16:40 +0200
No ifconfig Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-19 10:10 +0200
Re: No ifconfig Henrique de Moraes Holschuh <hmh@debian.org> - 2017-08-19 14:10 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-15 17:30 +0200
Re: No ifconfig [Was: no /etc/inittab] Glenn English <ghe2001@gmail.com> - 2017-08-15 18:40 +0200
Re: No ifconfig Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-19 10:40 +0200
Re: No ifconfig Zenaan Harkness <zenaan@freedbms.net> - 2017-08-19 11:40 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-19 15:30 +0200
Re: No ifconfig Nicolas George <george@nsup.org> - 2017-08-19 15:50 +0200
Re: No ifconfig Fungi4All <fungilife@protonmail.com> - 2017-08-19 16:20 +0200
Re: No ifconfig Fungi4All <fungilife@protonmail.com> - 2017-08-19 16:20 +0200
Re: No ifconfig Fungi4All <fungilife@protonmail.com> - 2017-08-19 16:30 +0200
Re: No ifconfig Nicolas George <george@nsup.org> - 2017-08-19 17:10 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-19 20:40 +0200
Re: No ifconfig Brian <ad44@cityscape.co.uk> - 2017-08-19 21:00 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-19 21:30 +0200
Re: No ifconfig Brian <ad44@cityscape.co.uk> - 2017-08-19 21:40 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-19 21:50 +0200
Re: No ifconfig Liam O'Toole <liam.p.otoole@gmail.com> - 2017-08-20 02:10 +0200
Re: No ifconfig Nicolas George <george@nsup.org> - 2017-08-19 16:50 +0200
Re: No ifconfig Ansgar Burchardt <ansgar@debian.org> - 2017-08-20 12:00 +0200
Re: No ifconfig Fungi4All <fungilife@protonmail.com> - 2017-08-21 15:30 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-19 16:30 +0200
Re: No ifconfig Brian <ad44@cityscape.co.uk> - 2017-08-19 19:50 +0200
Re: No ifconfig Erik Christiansen <dvalin@internode.on.net> - 2017-08-20 14:40 +0200
Re: No ifconfig <tomas@tuxteam.de> - 2017-08-20 14:50 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-20 17:50 +0200
Re: No ifconfig Erik Christiansen <dvalin@internode.on.net> - 2017-08-21 05:20 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-21 06:00 +0200
Re: No ifconfig Zenaan Harkness <zenaan@freedbms.net> - 2017-08-19 23:40 +0200
Re: No ifconfig Liam O'Toole <liam.p.otoole@gmail.com> - 2017-08-20 02:20 +0200
Re: No ifconfig Erik Christiansen <dvalin@internode.on.net> - 2017-08-20 14:50 +0200
Re: No ifconfig Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-21 07:20 +0200
Re: No ifconfig Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-21 15:00 +0200
Re: No ifconfig Christian Seiler <christian@iwakd.de> - 2017-08-21 15:10 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-21 17:10 +0200
Re: No ifconfig Christian Seiler <christian@iwakd.de> - 2017-08-21 18:20 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-21 19:10 +0200
Re: No ifconfig Christian Seiler <christian@iwakd.de> - 2017-08-21 19:20 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-21 19:50 +0200
Re: No ifconfig Christian Seiler <christian@iwakd.de> - 2017-08-21 20:10 +0200
Re: No ifconfig Gene Heskett <gheskett@shentel.net> - 2017-08-21 21:50 +0200
Re: No ifconfig Christian Seiler <christian@iwakd.de> - 2017-08-22 17:20 +0200
Re: No ifconfig Sven Hartge <sven@svenhartge.de> - 2017-08-22 17:20 +0200
Re: No ifconfig Eike Lantzsch <zp6cge@gmx.net> - 2017-08-21 17:30 +0200
No ifconfig Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-28 10:40 +0200
No ifconfig Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-28 10:20 +0200
Re: No ifconfig Curt <curty@free.fr> - 2017-08-21 17:30 +0200
Re: No ifconfig [Was: no /etc/inittab] David Wright <deblis@lionunicorn.co.uk> - 2017-08-15 19:10 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-15 19:50 +0200
Re: No ifconfig [Was: no /etc/inittab] Brian <ad44@cityscape.co.uk> - 2017-08-15 20:10 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-15 20:50 +0200
Re: No ifconfig [Was: no /etc/inittab] Brian <ad44@cityscape.co.uk> - 2017-08-15 21:30 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-16 03:40 +0200
Re: No ifconfig [Was: no /etc/inittab] David Wright <deblis@lionunicorn.co.uk> - 2017-08-15 21:30 +0200
Re: No ifconfig [Was: no /etc/inittab] Gene Heskett <gheskett@shentel.net> - 2017-08-16 03:50 +0200
Re: No ifconfig [Was: no /etc/inittab] David Wright <deblis@lionunicorn.co.uk> - 2017-08-16 06:40 +0200
Re: no /etc/inittab Brian <ad44@cityscape.co.uk> - 2017-08-14 21:30 +0200
Re: obsolete wiki (was: no /etc/inittab) Felix Miata <mrmazda@earthlink.net> - 2017-08-14 22:40 +0200
Re: obsolete wiki (was: no /etc/inittab) Brian <ad44@cityscape.co.uk> - 2017-08-14 23:20 +0200
Re: obsolete wiki Felix Miata <mrmazda@earthlink.net> - 2017-08-14 23:50 +0200
Re: obsolete wiki rhkramer@gmail.com - 2017-08-15 16:10 +0200
Re: obsolete wiki Brian <ad44@cityscape.co.uk> - 2017-08-15 19:20 +0200
Re: obsolete wiki Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-15 19:40 +0200
Re: obsolete wiki rhkramer@gmail.com - 2017-08-16 14:30 +0200
Re: obsolete wiki Brian <ad44@cityscape.co.uk> - 2017-08-16 16:20 +0200
Re: obsolete wiki Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-28 11:20 +0200
Re: obsolete wiki rhkramer@gmail.com - 2017-08-28 12:50 +0200
obsolete wiki (was: no /etc/inittab) Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-28 08:20 +0200
Re: obsolete wiki (was: no /etc/inittab) Gene Heskett <gheskett@shentel.net> - 2017-08-15 00:20 +0200
Re: obsolete wiki (no /etc/inittab) Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-19 11:50 +0200
Re: obsolete wiki (no /etc/inittab) Pierre Frenkiel <pierre.frenkiel@gmail.com> - 2017-08-19 15:10 +0200
Re: obsolete wiki (no /etc/inittab) Gene Heskett <gheskett@shentel.net> - 2017-08-19 16:00 +0200
Re: obsolete wiki (no /etc/inittab) Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-19 20:00 +0200
Re: obsolete wiki (no /etc/inittab) Gene Heskett <gheskett@shentel.net> - 2017-08-19 21:10 +0200
Re: obsolete wiki (no /etc/inittab) Brian <ad44@cityscape.co.uk> - 2017-08-19 21:30 +0200
Re: obsolete wiki (no /etc/inittab) Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-21 15:10 +0200
Re: obsolete wiki (no /etc/inittab) Gene Heskett <gheskett@shentel.net> - 2017-08-21 16:30 +0200
obsolete wiki (no /etc/inittab) Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-28 09:00 +0200
Re: no /etc/inittab Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2017-08-19 10:40 +0200
csiph-web