grml-network.git
10 months agoRelease new version 0.13.0 master v0.13.0
Michael Prokop [Fri, 9 Jul 2021 07:16:03 +0000 (09:16 +0200)]
Release new version 0.13.0

10 months agoImplement rfkill support for enabling blocked devices
Michael Prokop [Thu, 8 Jul 2021 15:23:03 +0000 (17:23 +0200)]
Implement rfkill support for enabling blocked devices

See https://github.com/grml/grml-network/pull/12

10 months agoMerge remote-tracking branch 'origin/pr/12'
Michael Prokop [Thu, 8 Jul 2021 06:34:52 +0000 (08:34 +0200)]
Merge remote-tracking branch 'origin/pr/12'

11 months agoRelease new version 0.12.0 v0.12.0
Michael Prokop [Wed, 9 Jun 2021 13:33:01 +0000 (15:33 +0200)]
Release new version 0.12.0

11 months agoRework debian/ to follow current best practices
Michael Prokop [Wed, 9 Jun 2021 13:03:19 +0000 (15:03 +0200)]
Rework debian/ to follow current best practices

* Switch to minimal debhelper approach
* Provide debian/source/format
* Bump Standards-Version to 4.5.1
* Switch all Homepage and Vcs-* headers to
  https://github.com/grml/grml-network (this avoids having a strange
  mixture of our self-hosted git repositories and github and
  also fixes vcs-field-uses-insecure-uri lintian warning)
* Convert debian/copyright to machine-readable format

Gbp-Dch: Full

11 months agonetcardconfig: drop uncommon wireless/WiFi options
Michael Prokop [Wed, 9 Jun 2021 11:28:25 +0000 (13:28 +0200)]
netcardconfig: drop uncommon wireless/WiFi options

No longer ask for the following options WiFi:

* iwconfig
* iwpriv
* iwspy
* wireless-channel
* wireless-freq
* wireless-nwid
* wireless-mode

AFAICT it's unusual to set those options to something other than the
defaults, at least nowadays. So let's drop support for it, minimizing
questions to answer in interactive mode (which also minimizes porting
efforts if we ever rewrite netcardconfig, see
https://github.com/grml/grml-network/issues/11).

FTR: according to my tests, wireless-tools seems to do the right™ thing
by default regarding "wireless-mode".

22 months agoRelease new version 0.11.4 v0.11.4
Michael Prokop [Sat, 18 Jul 2020 15:04:13 +0000 (17:04 +0200)]
Release new version 0.11.4

22 months agoDo not leak wireless options into non-wireless device configurations on concurrent...
Michael Prokop [Sat, 18 Jul 2020 14:29:05 +0000 (16:29 +0200)]
Do not leak wireless options into non-wireless device configurations on concurrent runs

When configuring a wlan device *and* afterwards a non-wlan device
within the same netcardconfig invocation, the wireless configuration
is still around (via $IWOURLINE and its underlying writeiwline()).

This causes the wireless options to be present even if not applicable,
like for example (wlan0 was configured first, then eth0 afterwards):

| allow-hotplug eth0
| iface wlan0 inet dhcp
|   wireless-mode Managed
|   wireless-essid SECRET
|   wpa-ssid SECRET
|   wpa-psk SECRET
|
|
| iface eth0 inet static
|         address 10.42.42.1
|         netmask 255.255.255.0
|         network 10.42.42.0
|         broadcast 10.42.42.255
|         gateway 10.42.42.1
|         dns-nameservers 10.42.42.1
| wireless-mode Managed
| wireless-essid SECRET
| wpa-ssid SECRET
| wpa-psk SECRET

This work was funded by Grml-Forensic.

22 months agoUse consistent indentation also for wireless configuration
Michael Prokop [Sat, 18 Jul 2020 14:28:20 +0000 (16:28 +0200)]
Use consistent indentation also for wireless configuration

The configuration is indented using tabs, if we don't
apply this also to the wireless configuration options
then it's inconsistent.

2 years agoRelease new version 0.11.3 v0.11.3
Michael Prokop [Tue, 12 May 2020 14:41:07 +0000 (16:41 +0200)]
Release new version 0.11.3

2 years agoBump Debian compat version to 12, using debhelper-compat approach
Michael Prokop [Tue, 12 May 2020 14:40:15 +0000 (16:40 +0200)]
Bump Debian compat version to 12, using debhelper-compat approach

Replace dh_clean with dh_prep accordingly.

2 years agoBump Standards-Version to 4.5.0
Michael Prokop [Tue, 12 May 2020 14:39:36 +0000 (16:39 +0200)]
Bump Standards-Version to 4.5.0

2 years agoMerge remote-tracking branch 'origin/pr/9'
Michael Prokop [Thu, 2 Apr 2020 13:27:40 +0000 (15:27 +0200)]
Merge remote-tracking branch 'origin/pr/9'

2 years agonetcardconfig: Add comments to make code more readable
Darshaka Pathirana [Thu, 2 Apr 2020 08:51:23 +0000 (10:51 +0200)]
netcardconfig: Add comments to make code more readable

Add comments before and after the very long if-stanzas in the
configiface function (which should be refactored by the way).

Also moved WLDEVICECOUNT= with an `iwconfig` call into the if-scope of
'Setup wireless options' to avoid an unneeded iwconfig call.
WLDEVICECOUNT is only used in that scope.

2 years agoMerge remote-tracking branch 'origin/pr/7'
Michael Prokop [Wed, 1 Apr 2020 16:09:56 +0000 (18:09 +0200)]
Merge remote-tracking branch 'origin/pr/7'

2 years agogrml-network: Fix obsolete nmap command line options
Darshaka Pathirana [Wed, 1 Apr 2020 15:18:38 +0000 (17:18 +0200)]
grml-network: Fix obsolete nmap command line options

host_timeout and max_rtt_timeout have been deprecated and undocumented
aliases for host-timeout and max-rtt-timeout.

The options have been removed from nmap in v7.70.
See: https://github.com/nmap/nmap/commit/23d95f5

While at it also use seconds instead of 'ms'. Quoting nmap(1):

  TIMING AND PERFORMANCE:
    Options which take <time> are in seconds, or append 'ms' (milliseconds),
    's' (seconds), 'm' (minutes), or 'h' (hours) to the value (e.g. 30m).

Closes: grml/grml-network#6

2 years agoRelease new version 0.11.2 v0.11.2
Michael Prokop [Fri, 5 Jul 2019 14:15:29 +0000 (16:15 +0200)]
Release new version 0.11.2

2 years agogrml-sniff: don't disable IPv6, raising unexpected behavior
Michael Prokop [Fri, 5 Jul 2019 14:13:42 +0000 (16:13 +0200)]
grml-sniff: don't disable IPv6, raising unexpected behavior

3 years agoRelease new version 0.11.1 v0.11.1
Michael Prokop [Fri, 14 Dec 2018 11:56:31 +0000 (12:56 +0100)]
Release new version 0.11.1

3 years agoMerge remote-tracking branch 'origin/pr/5'
Michael Prokop [Fri, 14 Dec 2018 11:55:31 +0000 (12:55 +0100)]
Merge remote-tracking branch 'origin/pr/5'

3 years agoRelease new version 0.11.0 v0.11.0
Michael Prokop [Thu, 15 Nov 2018 08:56:12 +0000 (09:56 +0100)]
Release new version 0.11.0

3 years agoBump Standards-Version to 4.2.1
Michael Prokop [Thu, 15 Nov 2018 08:55:57 +0000 (09:55 +0100)]
Bump Standards-Version to 4.2.1

3 years agoFix non-interactive interface choosing
Mykola Malkov [Wed, 10 Oct 2018 12:53:51 +0000 (15:53 +0300)]
Fix non-interactive interface choosing

In interactive mode user choose an interface and its number is used
in the code. In function 'configiface' the actual interface is taken
from NETDEVICES by this number.

In non-interactive mode we have an interface name and it was used as
index in NETDEVICES which failed and the 1st interface was always taken.
It does not matter what interface was passed in NET_DEV variable script
tried to configure eth0.

Fix it with getting interface number by its name.

3 years agoAdd support for non-interactive mode
Mykola Malkov [Mon, 30 Jul 2018 11:27:38 +0000 (14:27 +0300)]
Add support for non-interactive mode

Network device and parameters can be passed via environment variables
so script will create the network configuration without asking for
parameters.
Limitations - wlan and vlan configurations are not supported.

The list of parameters:
NET_DEV - name of network interface to configure.
METHOD - method of obtaining IP address. Can be dhcp|static|manual.
If both of these parameter defined then non-interactive mode is
used.

IPADDR - IP address for network interface.
NETMASK - netmask for network interface.
If method is 'static' or 'manual' then these parameters are mandatory.

GATEWAY - address of default route.
DNS - comma separated list of dns servers.

Add '--force' key to ifdown command before configuration of the interface.
It is required for interface reconfiguration.

3 years agoFix some shellcheck warnings
Mykola Malkov [Mon, 30 Jul 2018 11:26:32 +0000 (14:26 +0300)]
Fix some shellcheck warnings

Fix SC2086 - Double quote to prevent globbing and word splitting.

4 years agoRelease new version 0.10.0 v0.10.0
Michael Prokop [Fri, 25 May 2018 10:47:32 +0000 (12:47 +0200)]
Release new version 0.10.0

4 years agodebian: run wrap-and-sort with `-a -t -s`
Michael Prokop [Fri, 25 May 2018 10:15:20 +0000 (12:15 +0200)]
debian: run wrap-and-sort with `-a -t -s`

4 years agoDrop empty debian/docs
Michael Prokop [Fri, 25 May 2018 10:15:09 +0000 (12:15 +0200)]
Drop empty debian/docs

4 years agoDepend on iproute2 for proper support within netcardconfig
Michael Prokop [Fri, 25 May 2018 10:14:32 +0000 (12:14 +0200)]
Depend on iproute2 for proper support within netcardconfig

4 years agoBump Standards-Version to 4.1.4
Michael Prokop [Fri, 25 May 2018 10:13:45 +0000 (12:13 +0200)]
Bump Standards-Version to 4.1.4

4 years agonetcardconfig: default VLAN option to no and ensure 8021q module is loaded
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.

4 years agonetcardconfig: switch from ifconfig to ip(8)
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.

4 years agoMerge remote-tracking branch 'origin/pr/3'
Michael Prokop [Fri, 25 May 2018 09:35:19 +0000 (11:35 +0200)]
Merge remote-tracking branch 'origin/pr/3'

4 years agoFix default exit code of bailout
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

4 years agoMerge branch 'shellcheck' of github.com:darkmind/grml-network into shellcheck
Mykola Malkov [Thu, 5 Apr 2018 13:39:35 +0000 (15:39 +0200)]
Merge branch 'shellcheck' of github.com:darkmind/grml-network into shellcheck

4 years agoRefactoring netcardconfig according to 'shellcheck' recommendations
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.

4 years agoAdd support of VLAN configuration
Mykola Malkov [Tue, 27 Mar 2018 15:05:45 +0000 (17:05 +0200)]
Add support of VLAN configuration

4 years agoRefactoring netcardconfig according to 'shellcheck' recommendations
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.

5 years agoRelease new version 0.9.0 v0.9.0
Michael Prokop [Sat, 25 Mar 2017 15:33:25 +0000 (16:33 +0100)]
Release new version 0.9.0

5 years agonetcardconfig: don't fail with bash >=4.4 when scanning for networks
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

5 years agoSwitch Homepage + Vcs-Browser headers to https version
Michael Prokop [Sat, 25 Mar 2017 14:32:42 +0000 (15:32 +0100)]
Switch Homepage + Vcs-Browser headers to https version

5 years agoRelease new version 0.8.4 v0.8.4
Michael Prokop [Tue, 23 Aug 2016 12:21:29 +0000 (14:21 +0200)]
Release new version 0.8.4

5 years agonetcardconfig: switch from `ifconfig` to `ip link` for interface parsing [Closes...
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

5 years agoRelease new version 0.8.3 v0.8.3
Michael Prokop [Tue, 7 Jun 2016 14:27:22 +0000 (16:27 +0200)]
Release new version 0.8.3

5 years agoBump Standards-Version to 3.9.8
Michael Prokop [Tue, 7 Jun 2016 14:27:12 +0000 (16:27 +0200)]
Bump Standards-Version to 3.9.8

5 years agogrml-router: fix usage of iptables by dropping full path usage
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

8 years agoRelease new version 0.8.2 v0.8.2
Michael Prokop [Thu, 8 May 2014 12:25:46 +0000 (14:25 +0200)]
Release new version 0.8.2

8 years agogrml-network: nmap reports "0 hosts up" instead of "down" nowadays
Michael Prokop [Thu, 8 May 2014 12:25:26 +0000 (14:25 +0200)]
grml-network: nmap reports "0 hosts up" instead of "down" nowadays

8 years agoRelease new version 0.8.1 v0.8.1
Michael Prokop [Thu, 8 May 2014 09:44:50 +0000 (11:44 +0200)]
Release new version 0.8.1

8 years agogrml-network: fix nmap usage for recent nmap versions
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.

8 years agoRelease new version 0.8.0 v0.8.0
Michael Prokop [Sun, 9 Feb 2014 21:40:36 +0000 (22:40 +0100)]
Release new version 0.8.0

8 years agoRun wrap-and-sort on debian directory
Michael Prokop [Sun, 9 Feb 2014 21:40:14 +0000 (22:40 +0100)]
Run wrap-and-sort on debian directory

8 years agoBump Standards-Version to 3.9.5
Michael Prokop [Sun, 9 Feb 2014 21:39:59 +0000 (22:39 +0100)]
Bump Standards-Version to 3.9.5

8 years agonetcardconfig: avoid dns-nameservers leaking into gateway variable
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.

9 years agoRelease new version 0.7.0 v0.7.0
Michael Prokop [Fri, 24 May 2013 14:35:01 +0000 (16:35 +0200)]
Release new version 0.7.0

9 years agoBump Standards-Version to 3.9.4
Michael Prokop [Fri, 24 May 2013 14:34:38 +0000 (16:34 +0200)]
Bump Standards-Version to 3.9.4

9 years agogrml-sniff: disable IPv6 to avoid neighbor solicitation/multicast traffic
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.

9 years agoDisable default configuration in routersetup config file, use defaults in main scripts
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.

9 years agogrml-sniff: make sure network devices configured as BRIDGE_DEVICES exist
Michael Prokop [Fri, 24 May 2013 14:02:20 +0000 (16:02 +0200)]
grml-sniff: make sure network devices configured as BRIDGE_DEVICES exist

9 years agoRelease new version 0.6.0 v0.6.0
Michael Prokop [Mon, 4 Feb 2013 12:35:32 +0000 (13:35 +0100)]
Release new version 0.6.0

9 years agoUpdate sbin/netcardconfig
frenbu [Thu, 17 Jan 2013 11:02:49 +0000 (12:02 +0100)]
Update sbin/netcardconfig

Added feature: scan for available wireless networks dialog

9 years agoRelease new version 0.5.5 v0.5.5
Michael Prokop [Wed, 5 Sep 2012 14:35:02 +0000 (16:35 +0200)]
Release new version 0.5.5

9 years agonetcardconfig: show the wpasecret input box, even if password is already set
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

9 years agonetcardconfig: sed command resets WPASECRET
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.

10 years agoRelease new version 0.5.4 v0.5.4
Michael Prokop [Mon, 14 May 2012 13:36:13 +0000 (15:36 +0200)]
Release new version 0.5.4

10 years agodebnet: drop pump command line (as pump isn't shipped any longer)
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

10 years agodebnet: Ignore loop devices
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

10 years agoRelease new version 0.5.3 v0.5.3
Michael Prokop [Thu, 22 Dec 2011 21:25:59 +0000 (22:25 +0100)]
Release new version 0.5.3

10 years agoFix array usage mru/fixup
Ulrich Dangel [Thu, 22 Dec 2011 20:49:50 +0000 (21:49 +0100)]
Fix array usage

10 years agoRelease new version 0.5.2 v0.5.2
Michael Prokop [Thu, 22 Dec 2011 02:17:26 +0000 (03:17 +0100)]
Release new version 0.5.2

10 years agonetcardconfig: fix WLAN card detection
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.

10 years agoRelease new version 0.5.1 v0.5.1
Michael Prokop [Thu, 8 Dec 2011 13:33:46 +0000 (14:33 +0100)]
Release new version 0.5.1

10 years agonetcardconfig: fix variable assignment in awk cmdline
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č

10 years agoRelease version 0.5.0. v0.5.0
Christian Hofstaedtler [Thu, 13 Oct 2011 22:11:34 +0000 (00:11 +0200)]
Release version 0.5.0.

10 years agoRefresh Debian packaging
Christian Hofstaedtler [Thu, 13 Oct 2011 22:10:12 +0000 (00:10 +0200)]
Refresh Debian packaging

10 years agoFix spelling errors (from lintian)
Christian Hofstaedtler [Thu, 13 Oct 2011 22:09:24 +0000 (00:09 +0200)]
Fix spelling errors (from lintian)

10 years agoRemove Austrian provider specific configs, modem support
Christian Hofstaedtler [Thu, 13 Oct 2011 22:06:09 +0000 (00:06 +0200)]
Remove Austrian provider specific configs, modem support

10 years agoUpdate Ulrich Dangel's email address
Christian Hofstaedtler [Thu, 13 Oct 2011 21:56:24 +0000 (23:56 +0200)]
Update Ulrich Dangel's email address

10 years agoAdd debian/control headers Origin, Bugs
Christian Hofstaedtler [Wed, 27 Jul 2011 19:30:29 +0000 (21:30 +0200)]
Add debian/control headers Origin, Bugs

10 years agoBump Standards-Version to 3.9.2.
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>
11 years agoRelease new version 0.4.1. v0.4.1
Christian Hofstaedtler [Fri, 10 Dec 2010 11:48:56 +0000 (12:48 +0100)]
Release new version 0.4.1.

11 years agoshutdown interface before reconfiguring it
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.

11 years agoRelease new version 0.4.0. v0.4.0
Michael Prokop [Tue, 7 Dec 2010 11:16:14 +0000 (12:16 +0100)]
Release new version 0.4.0.

11 years agoAdd manpage for debnet.
Michael Prokop [Tue, 7 Dec 2010 11:27:53 +0000 (12:27 +0100)]
Add manpage for debnet.

11 years agodebnet: adjust code indenting and error message
Michael Prokop [Tue, 7 Dec 2010 11:15:42 +0000 (12:15 +0100)]
debnet: adjust code indenting and error message

11 years agoadd debnet [Closes: issue374]
Christian Hofstaedtler [Mon, 6 Dec 2010 22:12:33 +0000 (23:12 +0100)]
add debnet [Closes: issue374]

Moved from grml-autoconfig.

11 years agogrml-vnet: remove useless root check
Michael Gebetsroither [Tue, 19 Oct 2010 10:04:19 +0000 (12:04 +0200)]
grml-vnet: remove useless root check

11 years agoRelease new version 0.3.6. v0.3.6
Michael Prokop [Thu, 16 Sep 2010 22:26:56 +0000 (00:26 +0200)]
Release new version 0.3.6.

11 years agoBump Standards-Version to 3.9.1.
Michael Prokop [Thu, 16 Sep 2010 22:26:31 +0000 (00:26 +0200)]
Bump Standards-Version to 3.9.1.

11 years agoread WPASECRET from file [Closes: issue900]
Ulrich Dangel [Sun, 5 Sep 2010 13:59:26 +0000 (15:59 +0200)]
read WPASECRET from file [Closes: issue900]

11 years agoRelease new version 0.3.5. v0.3.5
Michael Prokop [Mon, 12 Jul 2010 09:35:10 +0000 (11:35 +0200)]
Release new version 0.3.5.

11 years agoBump Standards-Version to 3.9.0.
Michael Prokop [Mon, 12 Jul 2010 09:33:49 +0000 (11:33 +0200)]
Bump Standards-Version to 3.9.0.

11 years agodocs/grml-sniff.8.txt: update tcpdump commandline.
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>
12 years agoDo not allow empty WPA passphrase. v0.3.4
Michael Prokop [Tue, 18 May 2010 12:24:50 +0000 (14:24 +0200)]
Do not allow empty WPA passphrase.

12 years agoRelease new version 0.3.3 v0.3.3
Michael Prokop [Wed, 28 Apr 2010 22:48:36 +0000 (00:48 +0200)]
Release new version 0.3.3

12 years agoFix bashism/non-POSIX usage of $UID.
Michael Prokop [Wed, 28 Apr 2010 22:41:32 +0000 (00:41 +0200)]
Fix bashism/non-POSIX usage of $UID.

12 years agoAdd iptables to Recommends.
Michael Prokop [Wed, 28 Apr 2010 22:39:14 +0000 (00:39 +0200)]
Add iptables to Recommends.

12 years agoUse bash in shebang line of grml-vpnc-tugraz. v0.3.2
Michael Prokop [Fri, 2 Apr 2010 16:27:51 +0000 (18:27 +0200)]
Use bash in shebang line of grml-vpnc-tugraz.

12 years agoFix wrong usage of redirection in Makefile for doc generation.
Michael Prokop [Fri, 2 Apr 2010 16:25:27 +0000 (18:25 +0200)]
Fix wrong usage of redirection in Makefile for doc generation.

12 years agoBump Standards-Version to 3.8.4.
Michael Prokop [Fri, 2 Apr 2010 16:16:38 +0000 (18:16 +0200)]
Bump Standards-Version to 3.8.4.