Michael Prokop [Fri, 25 May 2018 10:47:32 +0000 (12:47 +0200)]
Release new version 0.10.0
Michael Prokop [Fri, 25 May 2018 10:15:20 +0000 (12:15 +0200)]
debian: run wrap-and-sort with `-a -t -s`
Michael Prokop [Fri, 25 May 2018 10:15:09 +0000 (12:15 +0200)]
Drop empty debian/docs
Michael Prokop [Fri, 25 May 2018 10:14:32 +0000 (12:14 +0200)]
Depend on iproute2 for proper support within netcardconfig
Michael Prokop [Fri, 25 May 2018 10:13:45 +0000 (12:13 +0200)]
Bump Standards-Version to 4.1.4
Michael Prokop [Fri, 25 May 2018 10:06:52 +0000 (12:06 +0200)]
netcardconfig: default VLAN option to no and ensure 8021q module is loaded
Configuring VLAN is optional and usually not required, so default
to no.
Without the 8021q module being loaded it spills a warning
message, even though it works fine. This might be confusing
for the user though, so let's loaded ahead.
Michael Prokop [Fri, 25 May 2018 10:03:37 +0000 (12:03 +0200)]
netcardconfig: switch from ifconfig to ip(8)
The output of ifconfig changed in recent versions, breaking
parsing the available interfaces. Use that as a good excuse
for switching from ifconfig to ip.
The 's/@.*//' is required to strip the '@ethX0' from the interface
names 'vlan42@eth0', since in /sys/class/net/ only vlan42 exists
as such and not vlan42@eth0.
Michael Prokop [Fri, 25 May 2018 09:35:19 +0000 (11:35 +0200)]
Merge remote-tracking branch 'origin/pr/3'
Mykola Malkov [Thu, 5 Apr 2018 13:40:02 +0000 (15:40 +0200)]
Fix default exit code of bailout
Exit code 0 if the funciton is called without arguments
Mykola Malkov [Thu, 5 Apr 2018 13:39:35 +0000 (15:39 +0200)]
Merge branch 'shellcheck' of github.com:darkmind/grml-network into shellcheck
Mykola Malkov [Tue, 27 Mar 2018 14:55:00 +0000 (16:55 +0200)]
Refactoring netcardconfig according to 'shellcheck' recommendations
Used 'shellcheck' https://github.com/koalaman/shellcheck recommendations:
SC2088 Tilde does not expand in quotes.
SC2086 Double quote to prevent globbing and word splitting.
SC2166 Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
SC2034 foo appears unused. Verify it or export it.
SC2162 read without -r will mangle backslashes.
SC2196 egrep is non-standard and deprecated. Use grep -E instead.
SC2128 Expanding an array without an index only gives the first element.
SC2068 Double quote array expansions to avoid re-splitting elements.
SC2001 See if you can use ${variable//search/replace} instead.
SC2006 Use $(STATEMENT) instead of legacy `STATEMENT`
SC2144 -e doesn't work with globs. Use a for loop.
Mykola Malkov [Tue, 27 Mar 2018 15:05:45 +0000 (17:05 +0200)]
Add support of VLAN configuration
Mykola Malkov [Tue, 27 Mar 2018 14:55:00 +0000 (16:55 +0200)]
Refactoring netcardconfig according to 'shellcheck' recommendations
Used 'shellcheck' https://github.com/koalaman/shellcheck recommendations:
SC2088 Tilde does not expand in quotes.
SC2086 Double quote to prevent globbing and word splitting.
SC2166 Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
SC2034 foo appears unused. Verify it or export it.
SC2162 read without -r will mangle backslashes.
SC2196 egrep is non-standard and deprecated. Use grep -E instead.
SC2128 Expanding an array without an index only gives the first element.
SC2068 Double quote array expansions to avoid re-splitting elements.
SC2001 See if you can use ${variable//search/replace} instead.
SC2006 Use $(STATEMENT) instead of legacy `STATEMENT`
SC2144 -e doesn't work with globs. Use a for loop.
Michael Prokop [Sat, 25 Mar 2017 15:33:25 +0000 (16:33 +0100)]
Release new version 0.9.0
Michael Prokop [Sat, 25 Mar 2017 15:24:40 +0000 (16:24 +0100)]
netcardconfig: don't fail with bash >=4.4 when scanning for networks
There was a behavior change in bash 4.4:
| % bash --version | head -1
| GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu)
| % cat foo
| printf "1\n2\n3\n" > /tmp/input
| i=0
| while read line
| do
| WARRAY[i++]=$line
| done < /tmp/input
| echo ${WARRAY[@] }
| % bash ./foo
| 1 2 3
| %
|
| % bash --version | head -1
| GNU bash, version 4.4.5(1)-release (x86_64-pc-linux-gnu)
| % bash ./foo
| ./foo: line 7: ${WARRAY[@] }: bad substitution
| %
While at it don't hide empty and hidden ESSIDs, this is breaking
the dialog option parsing, so while it's not really nice from
a user perspective it's still better than a failing netcardconfig.
Closes grml/release-planning#13 @ GH
Michael Prokop [Sat, 25 Mar 2017 14:32:42 +0000 (15:32 +0100)]
Switch Homepage + Vcs-Browser headers to https version
Michael Prokop [Tue, 23 Aug 2016 12:21:29 +0000 (14:21 +0200)]
Release new version 0.8.4
Michael Prokop [Tue, 23 Aug 2016 12:18:23 +0000 (14:18 +0200)]
netcardconfig: switch from `ifconfig` to `ip link` for interface parsing [Closes: issue2219]
Quoting from the bug report:
| ifconfig as of Debian stretch uses a different output format.
| This breaks enumeration of devices in netcardconfig line 576.
ifconfig isn't the state-of-the-art tool anyway, so switching
to ip(8) is an excellent idea. :)
Thanks: Jakob Haufe <sur5r@sur5r.net> for the bugreport and patch
Michael Prokop [Tue, 7 Jun 2016 14:27:22 +0000 (16:27 +0200)]
Release new version 0.8.3
Michael Prokop [Tue, 7 Jun 2016 14:27:12 +0000 (16:27 +0200)]
Bump Standards-Version to 3.9.8
Michael Prokop [Tue, 7 Jun 2016 14:24:59 +0000 (16:24 +0200)]
grml-router: fix usage of iptables by dropping full path usage
check4progs expects a program with its full path, otherwise
it fails with:
| /sbin/iptables: binary not found
Thanks: Ralf Moll for the bugreport
Michael Prokop [Thu, 8 May 2014 12:25:46 +0000 (14:25 +0200)]
Release new version 0.8.2
Michael Prokop [Thu, 8 May 2014 12:25:26 +0000 (14:25 +0200)]
grml-network: nmap reports "0 hosts up" instead of "down" nowadays
Michael Prokop [Thu, 8 May 2014 09:44:50 +0000 (11:44 +0200)]
Release new version 0.8.1
Michael Prokop [Thu, 8 May 2014 09:41:56 +0000 (11:41 +0200)]
grml-network: fix nmap usage for recent nmap versions
The --max_rtt_timeout setting wants us to use 4000ms instead
of 4000:
| % nmap -sP --host_timeout 4000 --max_rtt_timeout 4000 192.168.88.1 :(
| Since April 2010, the default unit for --max-rtt-timeout is seconds, so your time of "4000" is 4000 seconds. Use "4000ms" for 4000 milliseconds.
| QUITTING!
This finally reports correct online/offline status again.
Michael Prokop [Sun, 9 Feb 2014 21:40:36 +0000 (22:40 +0100)]
Release new version 0.8.0
Michael Prokop [Sun, 9 Feb 2014 21:40:14 +0000 (22:40 +0100)]
Run wrap-and-sort on debian directory
Michael Prokop [Sun, 9 Feb 2014 21:39:59 +0000 (22:39 +0100)]
Bump Standards-Version to 3.9.5
Michael Prokop [Sun, 9 Feb 2014 21:28:24 +0000 (22:28 +0100)]
netcardconfig: avoid dns-nameservers leaking into gateway variable
Because we also take care of the dns-nameservers entry in
/etc/network/interfaces, when re-executing netcardconfig we
overload the default gateway variable with *also* the
dns-nameservers entry, which is clearly unwanted.
So avoid leaking the dns-nameservers entry into the
gateway variable (which is presented in the gateway
input dialog) by assigning it its own variable.
Michael Prokop [Fri, 24 May 2013 14:35:01 +0000 (16:35 +0200)]
Release new version 0.7.0
Michael Prokop [Fri, 24 May 2013 14:34:38 +0000 (16:34 +0200)]
Bump Standards-Version to 3.9.4
Michael Prokop [Fri, 24 May 2013 14:29:21 +0000 (16:29 +0200)]
grml-sniff: disable IPv6 to avoid neighbor solicitation/multicast traffic
With IPv6 enabled the devices leak IPv6 traffic because
of the way IPv6 works™:
| 16:24:20.074982 IP6 (hlim 1, next-header Options (0) payload length: 36) :: > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 1 group record(s) [gaddr [...] to_ex { }]
| 16:24:20.319025 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24) :: > ff02::1:ffab:3f90: [icmp6 sum ok] ICMP6, neighbor solicitation, length 24, who has [...]
| 16:24:21.319027 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 16) [...] > ip6-allrouters: [icmp6 sum ok] ICMP6, router solicitation, length 16
| [...]
| 16:24:23.619025 IP6 (hlim 1, next-header Options (0) payload length: 36) [...] > ff02::16: HBH (rtalert: 0x0000) (padn) [icmp6 sum ok] ICMP6, multicast listener report v2, 1 group record(s) [gaddr ff02::1:ffab:3f90 to_ex { }]
| 16:24:25.330982 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 16) [...] > ip6-allrouters: [icmp6 sum ok] ICMP6, router solicitation, length 16
| source link-address option (1), length 8 (1): [...]
| 0x0000: 001d 92ab 3f90
| 16:24:29.338972 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 16) [...] > ip6-allrouters: [icmp6 sum ok] ICMP6, router solicitation, length 16
| source link-address option (1), length 8 (1): [...]
| 0x0000: 001d 92ab 3f90
So when starting the sniffing setup disable IPv6 and
when stopping the sniffing setup re-enable it again.
Michael Prokop [Fri, 24 May 2013 14:21:14 +0000 (16:21 +0200)]
Disable default configuration in routersetup config file, use defaults in main scripts
This allows setting confguration settings via environment more easily.
Michael Prokop [Fri, 24 May 2013 14:02:20 +0000 (16:02 +0200)]
grml-sniff: make sure network devices configured as BRIDGE_DEVICES exist
Michael Prokop [Mon, 4 Feb 2013 12:35:32 +0000 (13:35 +0100)]
Release new version 0.6.0
frenbu [Thu, 17 Jan 2013 11:02:49 +0000 (12:02 +0100)]
Update sbin/netcardconfig
Added feature: scan for available wireless networks dialog
Michael Prokop [Wed, 5 Sep 2012 14:35:02 +0000 (16:35 +0200)]
Release new version 0.5.5
Lukas Prokop [Wed, 5 Sep 2012 14:29:05 +0000 (16:29 +0200)]
netcardconfig: show the wpasecret input box, even if password is already set
Lukas Prokop [Wed, 5 Sep 2012 14:02:05 +0000 (16:02 +0200)]
netcardconfig: sed command resets WPASECRET
On second invocation the password might end up being empty.
Then there's no chance to get a working netcardconfig
again without manually editing /etc/network/interfaces,
as the ugly awk command line can not parse the file
any longer with an incomplete wpa-psk line.
Michael Prokop [Mon, 14 May 2012 13:36:13 +0000 (15:36 +0200)]
Release new version 0.5.4
Michael Prokop [Sun, 13 May 2012 15:58:42 +0000 (17:58 +0200)]
debnet: drop pump command line (as pump isn't shipped any longer)
Thanks: John S. Skogtvedt <jss@bzz.no> for bugreport and patch
Closes: issue1166
Michael Prokop [Sun, 13 May 2012 15:57:10 +0000 (17:57 +0200)]
debnet: Ignore loop devices
Quoting from http://bts.grml.org/grml/issue1166:
| I booted using the options lvm debnet, expecting debnet to use the
| /etc/network/interfaces file from the LVM logical volume. Instead, it
| used the /etc/network/interfaces file from /dev/loop0, because that is
| listed earlier in /proc/partitions.
Thanks: John S. Skogtvedt <jss@bzz.no> for bugreport and patch
Michael Prokop [Thu, 22 Dec 2011 21:25:59 +0000 (22:25 +0100)]
Release new version 0.5.3
Ulrich Dangel [Thu, 22 Dec 2011 20:49:50 +0000 (21:49 +0100)]
Fix array usage
Michael Prokop [Thu, 22 Dec 2011 02:17:26 +0000 (03:17 +0100)]
Release new version 0.5.2
Michael Prokop [Thu, 22 Dec 2011 01:21:29 +0000 (02:21 +0100)]
netcardconfig: fix WLAN card detection
Thanks: Ulrich Dangel <mru@grml.org> for the patch.
Michael Prokop [Thu, 8 Dec 2011 13:33:46 +0000 (14:33 +0100)]
Release new version 0.5.1
Michael Prokop [Thu, 8 Dec 2011 12:52:40 +0000 (13:52 +0100)]
netcardconfig: fix variable assignment in awk cmdline
A variable inside awk can't seem to include the "-" sign.
So lets just use "dnsnameservers" instead of "dns-nameservers"
in the awk cmdline for variable assignment.
Closes: http://bts.grml.org/grml/issue1089
Thanks: Marek Malevič
Christian Hofstaedtler [Thu, 13 Oct 2011 22:11:34 +0000 (00:11 +0200)]
Release version 0.5.0.
Christian Hofstaedtler [Thu, 13 Oct 2011 22:10:12 +0000 (00:10 +0200)]
Refresh Debian packaging
Christian Hofstaedtler [Thu, 13 Oct 2011 22:09:24 +0000 (00:09 +0200)]
Fix spelling errors (from lintian)
Christian Hofstaedtler [Thu, 13 Oct 2011 22:06:09 +0000 (00:06 +0200)]
Remove Austrian provider specific configs, modem support
Christian Hofstaedtler [Thu, 13 Oct 2011 21:56:24 +0000 (23:56 +0200)]
Update Ulrich Dangel's email address
Christian Hofstaedtler [Wed, 27 Jul 2011 19:30:29 +0000 (21:30 +0200)]
Add debian/control headers Origin, Bugs
Michael Prokop [Mon, 6 Jun 2011 21:18:03 +0000 (23:18 +0200)]
Bump Standards-Version to 3.9.2.
Signed-off-by: Michael Prokop <mika@grml.org>
Christian Hofstaedtler [Fri, 10 Dec 2010 11:48:56 +0000 (12:48 +0100)]
Release new version 0.4.1.
Christian Hofstaedtler [Thu, 9 Dec 2010 17:16:20 +0000 (18:16 +0100)]
shutdown interface before reconfiguring it
shutting down the interface before reconfiguring it ensures that previously
started dhclients and other programs exit and do not interfere with the new
configuration.
Michael Prokop [Tue, 7 Dec 2010 11:16:14 +0000 (12:16 +0100)]
Release new version 0.4.0.
Michael Prokop [Tue, 7 Dec 2010 11:27:53 +0000 (12:27 +0100)]
Add manpage for debnet.
Michael Prokop [Tue, 7 Dec 2010 11:15:42 +0000 (12:15 +0100)]
debnet: adjust code indenting and error message
Christian Hofstaedtler [Mon, 6 Dec 2010 22:12:33 +0000 (23:12 +0100)]
add debnet [Closes: issue374]
Moved from grml-autoconfig.
Michael Gebetsroither [Tue, 19 Oct 2010 10:04:19 +0000 (12:04 +0200)]
grml-vnet: remove useless root check
Michael Prokop [Thu, 16 Sep 2010 22:26:56 +0000 (00:26 +0200)]
Release new version 0.3.6.
Michael Prokop [Thu, 16 Sep 2010 22:26:31 +0000 (00:26 +0200)]
Bump Standards-Version to 3.9.1.
Ulrich Dangel [Sun, 5 Sep 2010 13:59:26 +0000 (15:59 +0200)]
read WPASECRET from file [Closes: issue900]
Michael Prokop [Mon, 12 Jul 2010 09:35:10 +0000 (11:35 +0200)]
Release new version 0.3.5.
Michael Prokop [Mon, 12 Jul 2010 09:33:49 +0000 (11:33 +0200)]
Bump Standards-Version to 3.9.0.
Michael Prokop [Mon, 12 Jul 2010 09:29:58 +0000 (11:29 +0200)]
docs/grml-sniff.8.txt: update tcpdump commandline.
Thanks: Ralf Moll
Signed-off-by: Michael Prokop <mika@grml.org>
Michael Prokop [Tue, 18 May 2010 12:24:50 +0000 (14:24 +0200)]
Do not allow empty WPA passphrase.
Michael Prokop [Wed, 28 Apr 2010 22:48:36 +0000 (00:48 +0200)]
Release new version 0.3.3
Michael Prokop [Wed, 28 Apr 2010 22:41:32 +0000 (00:41 +0200)]
Fix bashism/non-POSIX usage of $UID.
Michael Prokop [Wed, 28 Apr 2010 22:39:14 +0000 (00:39 +0200)]
Add iptables to Recommends.
Michael Prokop [Fri, 2 Apr 2010 16:27:51 +0000 (18:27 +0200)]
Use bash in shebang line of grml-vpnc-tugraz.
Michael Prokop [Fri, 2 Apr 2010 16:25:27 +0000 (18:25 +0200)]
Fix wrong usage of redirection in Makefile for doc generation.
Michael Prokop [Fri, 2 Apr 2010 16:16:38 +0000 (18:16 +0200)]
Bump Standards-Version to 3.8.4.
Michael Prokop [Fri, 2 Apr 2010 16:16:14 +0000 (18:16 +0200)]
Update device detection in grml-pptp-xdsl-students and netcardconfig.
Michael Gebetsroither [Wed, 10 Feb 2010 17:47:35 +0000 (18:47 +0100)]
grml-vnet: add help message on missing device name
Michael Prokop [Mon, 17 Aug 2009 09:26:55 +0000 (11:26 +0200)]
Bump to Standard Version 3.8.3; add grml-sniff to long descr
Michael Prokop [Mon, 17 Aug 2009 09:25:28 +0000 (11:25 +0200)]
New script grml-sniff; fix typo in grml-bridge; drop Latest change header
Michael Prokop [Fri, 24 Jul 2009 20:59:26 +0000 (22:59 +0200)]
Bump Standard to Version 3.8.2 (no further changes)
Michael Prokop [Fri, 24 Jul 2009 20:56:14 +0000 (22:56 +0200)]
scanmodem: apply patch by Joerg Woelke which addresses the right way to specify find options
Michael Prokop [Mon, 15 Jun 2009 22:41:55 +0000 (00:41 +0200)]
netcardconfig: use 'udevadm info' instead of 'udevinfo'
Michael Prokop [Thu, 9 Apr 2009 09:38:26 +0000 (11:38 +0200)]
grml-bridge: bring network devices up by default
Michael Prokop [Wed, 8 Apr 2009 22:13:38 +0000 (00:13 +0200)]
Improve error handling in grml-bridge
Michael Prokop [Wed, 8 Apr 2009 22:13:20 +0000 (00:13 +0200)]
Bump Standard-Version, improve long description
Michael Prokop [Mon, 3 Nov 2008 17:24:09 +0000 (18:24 +0100)]
Drop .hg files
Michael Prokop [Mon, 3 Nov 2008 17:23:57 +0000 (18:23 +0100)]
Update VCS headers
Michael Prokop [Mon, 3 Nov 2008 17:22:53 +0000 (18:22 +0100)]
net-functions: getLanDriver() does not return driver for madwifi
Michael Prokop [Sun, 12 Oct 2008 09:06:24 +0000 (11:06 +0200)]
defaultGWDev does not always get the right device
Michael Prokop [Mon, 15 Sep 2008 23:04:00 +0000 (01:04 +0200)]
Added tag 0.2.3 for changeset
19ca3f11ae72
Michael Prokop [Mon, 15 Sep 2008 23:03:17 +0000 (01:03 +0200)]
Fix binary-arch-rules-but-pkg-is-arch-indep in debian/rules.
Michael Prokop [Mon, 15 Sep 2008 22:59:49 +0000 (00:59 +0200)]
Adjust changelog
Michael Prokop [Mon, 15 Sep 2008 22:59:22 +0000 (00:59 +0200)]
Depend on grml-etc-core
Michael Prokop [Mon, 21 Jul 2008 23:14:23 +0000 (01:14 +0200)]
Fix UID check in grml-pptp-inode
Michael Prokop [Wed, 26 Mar 2008 22:05:01 +0000 (23:05 +0100)]
Added tag 0.2.1 for changeset
e218567c4e62
Michael Prokop [Wed, 26 Mar 2008 22:03:51 +0000 (23:03 +0100)]
grml-bridge: remove -e option in dhclient call
Michael Prokop [Fri, 25 Jan 2008 23:18:19 +0000 (00:18 +0100)]
Michael Prokop [Fri, 25 Jan 2008 23:14:48 +0000 (00:14 +0100)]
export LANG=C in grml-pptp*/grml-vpnc-tugraz scripts
Michael Prokop [Sun, 20 Jan 2008 18:59:18 +0000 (19:59 +0100)]
Michael Prokop [Sun, 20 Jan 2008 18:55:10 +0000 (19:55 +0100)]
netcardconfig: check for presence of /proc/net/dev