Layers of Layers
Have you tried adding an abstraction layer?
  • Cheat Sheets
    • Linux Commands
    • Linux Network
    • Markdown
    • Regular Expressions
    • Shell Scripting
    • SSL
    • VI
  • To Do
    • Blinkendecke
    • DIY Electronics Construction Kit from Duplo
    • Kobo Hacking
  • $FOO
  • Linux
  • Make
  • misc
  • Pretty
  • Software
  • Things

Using ifup/down with local Lan and Wireless

Wonko| Mon 23 August 2010

I have a Notebook sitting in the living room. Its mostly for reading Mails/Blogs, checking the Weather. Occasionally I hook it up to the TV to watch Movies. Here's where the trouble starts: To do that I connect the Notebook to a Physical Network for Bandwidth reasons. The Movies sit on a NAS. I configured the Notebook to be on IfUp/-Down in contrast to using Networkmanager since It will only connect to one pre-configured Wireles LAN. This way I am able to remotely connect to the Notebook even though nobody is logged in. The NM will only connect on login. My FritzBox hands out IP-Addresses from the same Subnet to all Clients on WLAN and LAN. This causes troubles when the Notebook is connected to the Physical LAN. The WLAN and LAN interface compete to be the default gateway. After plugging in the routing gets mixed up and I loose connection. The solution is easy: Tell ifplugd to switch off the other Card on Ifup. In Yast I configured the Devices to be started on cable connect. This changes the /etc/sysconfig/network/ifcfg-eth0 and ifcfg-wlan0 files to : ...  STARTMODE='ifplugd'... Then I changed the Script /etc/ifplugd/ifplugd.action. The script is called whenever a change in connection is detected by ifplugd. Its called with the Device (et0/wlan0) as \$1 and the command (up/down) as \$2. My change simply Downs the respective "other" Interface: ...[ "$1" = eth0 ] OTHER = wlan0 [ "$1" = wlan0 ] OTHER = eth0 [ "$2" = "up" ] && exec /sbin/ifup $1 -o ifplugd && exec /sbin/ifdown $OTHER [ "$2" = "down" ] && exec /sbin/ifdown $1 -o ifplugd && exec /sbin/ifup $OTHER ... I only tested this on OpenSuse 11.3 but I think it will work with most other Distros that have ifplugd,

Category
Linux
Tags
Network

Configure netconfig for modem use

Wonko| Tue 08 September 2009

I wrote this one for Novell's Cool Solutions:
[http://www.novell.com/communities/node/6781/configure-netconfig-modem-use
][]
In SLE11 we have a new (better) way to set up automatic network
configuration.

Its called netconfig (man 8 netconfig). Its a "modular tool to modify
network configuration".

Well in my SLED11 RC1 ...

Lesen »
Category
Linux
Tags
Suse Network

Configure netconfig for static search domains

Wonko| Tue 08 September 2009

I wrote this for Novell's Cool
Solutions:http://www.novell.com/communities/node/6782/configure-netconfig-static-domain-search-lists

In SLE11 we have a new (better) way to set up automatic network
configuration.

Its called netconfig (man 8 netconfig). Its a "modular tool to modify
network configuration".

Well in my SLED11 RC1 Box ...

Lesen »
Category
Linux
Tags
Suse Network

Oh Why. Or to mdns or not to mdns .local

Wonko| Tue 08 September 2009

When trying out a SLED 10 Sp2 Configuration which authenticates against
a Windows 2003 R2 ADS I ran into a timeout which A: was very annoying
and B: did prevent me from logging in (winbind timed out).

It seems the cause for it was twofold:
Since I am a good ...

Lesen »
Category
Linux
Tags
Suse Network

Reconfigure Network with Yast while running XEN

Wonko| Tue 08 September 2009

If you run the XEN Kernel of SLES 10 and try to change your lan settings
with Yast it will simply shoo you away:

A XEN network Bridge was detected.Due to renaming of network interfaces by the bridge script, network interfaces should not be configured or restarted.See /usr ...

Lesen »
Category
Linux
Tags
Suse Network Virtualization

Page 1 / 1

Tags

  • Graphics
  • bash
  • Javascript
  • Database
  • Powersave
  • Cyanogen
  • synology
  • Ideas
  • Android
  • Security
  • Internal
  • Blog
  • Books
  • Network
  • Wood
  • Wallpapers
  • RasPi
  • Storage
  • Serious
  • KDE
  • Cookies
  • Suse
  • Themes
  • Ubuntu
  • Kids
  • Photos
  • Hardware
  • Java
  • Git
  • Pelican
  • Games
  • Virtualization
  • Eclipse

Links

  • CCC-FFM
  • Cat Content
design by jide