grml-network.git
16 months agoRelease new version 0.14.1 master v0.14.1
Michael Prokop [Fri, 25 Nov 2022 16:08:08 +0000 (17:08 +0100)]
Release new version 0.14.1

16 months agoPromote iptables from Recommend to Depends
Michael Prokop [Fri, 25 Nov 2022 16:05:50 +0000 (17:05 +0100)]
Promote iptables from Recommend to Depends

Otherwise tools like grml-router don't work OOTB:

| grml@grml ~ % sudo grml-router
| iptables: binary not found

Given that iptables and its dependencies require less than 3MB of disk
space on e.g. grml64-small, let's add it as dependency.

Closes: https://github.com/grml/grml/issues/196

19 months agoRelease new version 0.14.0 v0.14.0
Michael Prokop [Wed, 17 Aug 2022 14:51:15 +0000 (16:51 +0200)]
Release new version 0.14.0

19 months agonetcardconfig: avoid suggesting default gateway if a default route exists already
Michael Prokop [Wed, 17 Aug 2022 12:05:25 +0000 (14:05 +0200)]
netcardconfig: avoid suggesting default gateway if a default route exists already

When multiple NICs are present, a default gateway might exist already,
while adding another default gateway then fails and is confusing.
So instead let's present an empty input text dialog then, so the
defaults should work fine.

See https://github.com/grml/grml-terminalserver/issues/4

2 years agoRelease new version 0.13.0 v0.13.0
Michael Prokop [Fri, 9 Jul 2021 07:16:03 +0000 (09:16 +0200)]
Release new version 0.13.0

2 years 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

2 years 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'

2 years 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

2 years 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

2 years 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".

3 years 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

3 years 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.

3 years 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.

3 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

3 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.

3 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

4 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'

4 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.

4 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'

4 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

4 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

4 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

5 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

5 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'

5 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

5 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

5 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.

5 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.

5 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.

5 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

5 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`

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

5 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

5 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

5 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.

5 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.

5 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'

6 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

6 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

6 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.

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

6 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.

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

9 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

9 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

9 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

9 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.

10 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

10 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

10 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

10 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.

10 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

10 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

10 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.

10 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.

10 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

11 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

11 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

11 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

11 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

11 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.

11 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

11 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

11 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

12 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

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

12 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

12 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.

12 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

12 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č

12 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.

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

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

12 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

12 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

12 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

12 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>
13 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.

13 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.

13 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.

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

13 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

13 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.

13 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

13 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.

13 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.

13 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]

13 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.

13 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.

13 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>
13 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.

13 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

13 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.