Brian | 1 Nov 2011 01:47
Picon

Re: Learning ifpludg in CLI, WAS Re: laptop wireless setup, wpa_supplicant.conf, etc

On Mon 31 Oct 2011 at 12:53:21 -0700, keitho <at> strucktower.com wrote:

> If I boot the laptop with the Ethernet cable plugged in (eth0), that
> connection works fine. If I then unplug the Ethernet cable I can not
> connect to the outside world via the wireless (eth1). Yet I can ping
> machines inside my own LAN:

Immediately after boot /sbin/route shows:
-----------------------------------------

  Destination  Gateway      Genmask         Flags Metric Ref Use Iface
  default      192.168.7.1  0.0.0.0         UG    0      0     0 eth0
  localnet     *            255.255.255.0   U     0      0     0 eth0
  localnet     *            255.255.255.0   U     0      0     0 wlan0

eth0 is brought up by ifplugd because the cable is connected. wlan0 is
brought up because of 'allow-hotplug wlan0' in /e/n/i. Quite why there
is only one default route, I'm unsure. Pinging locally and to the
outside world is possible.

Unplug the cable:
-----------------

  Destination  Gateway      Genmask         Flags Metric Ref Use Iface
  localnet     *            255.255.255.0   U     0      0     0 wlan0

eth0 is taken down by ifplugd. wpa_supplicant runs

    wpa_cli -i wlan0 reconnect

(Continue reading)

Edward Morbius | 1 Nov 2011 03:24
Picon
Gravatar

Bridged firewall, port flapping

We run a small set of web infrastructure with the following configuration:

 - Upstream routre

 - Cisco Catalyst 2960G switch segmented into two vlans.

 - Pair of Debian boxes with a transparent bridging firewall comprising
   eth1 and eth2.  These implement the physdev kernel module and
   spanning tree to provide failover service in about 15 seconds should
   the primary go down, or come up after having been down.  eth0 is a
   management interface connected to vlan2 and only accessible from
   within the firewall or specified external addresses.
   /etc/network/interfaces is included below.

   The firewall hosts connect to both vlans on the Cisco.  The addresses
   on vlan2 are publically accessible, though access is restricted by
   the firewalls.

   The firewalls run iptables but NOT ebtables, which I've just learned
   about (think iptables, but for MAC addresses).

 - A set of internal systems (various Linux distros including Debian) on
   vlan2 of the firewall.

The symptoms we've been seeing are:

1. Internal systems, on being restarted, show port flapping on the
2960G, with packet dumps showing IPV6 ICMP type 143 (multicast listener
discovery) from both the host's switch port, AND the active firewall's
port.  Switching to a different host device may clear this condition.
(Continue reading)

johny why | 1 Nov 2011 05:53
Picon
Gravatar

Panning Desktop WITHOUT xorg.conf

not sure if this is relevant, but for noobs like me, this method enables a 
virtual panning desktop on Debian, from a terminal command-line, without need 
for a xorg.conf:

xrandr --output VGA1 --rate 60 --mode 800x600 --fb 1280x1024 --panning 1280x1024

the "mode" is your viewport (ie, max res of your monitor). The "fb" and 
"panning" are both set to your desired virtual size. 

This will not work if the "output" parameter is not your active graphics card. 
Find out your active graphics card by running xrandr on a command line, without 
any arguments. 

You can switch back to normal resolution with the same command, with your actual 
screen resolution used for all the arguments. 

Now you can quickly switch between panning and non-panning resolution by putting 
the two different commands into .sh files, and make them "executable" on the 
permissions tab of their file properties. 

on my asus netbook, my commands are:

normal.sh
xrandr --output LVDS1 --mode 1024x600 --fb 1024x600 --panning 1024x600

tall.sh
xrandr --output LVDS1 --mode 1024x600 --fb 1024x768 --panning 1024x768

from:
https://wiki.ubuntu.com/X/Config/Resolution#Panning_viewport
(Continue reading)

Paddy Tollan | 1 Nov 2011 06:12
Picon
Favicon

USB Drives will not mount


Hi I can no longer mount my usb pen drive. When I run the mount vfat -t /dev/sdb /mnt/pen The commmand
complains about there being a bad superblock on the usb drive. I run the dmesg command and get the message
there is not a valid fat partition on /dev/sdb. 

However there is a valid file system as the drive is formatted as fat32 and the drive is seen in windows I have
tried another drive with the same result 

how can I fix this as it is very annoying. I have tried to reformat and partition the drive but this will not
work    
 		 	   		  

J. Bakshi | 1 Nov 2011 06:18
Picon

Re: wifi auto-detection not working any more

On Mon, 31 Oct 2011 18:44:16 +0000
Brian <ad44 <at> cityscape.co.uk> wrote:

> On Mon 31 Oct 2011 at 23:06:43 +0530, J. Bakshi wrote:
> 
> > If it is so... then I really don't need ifplugd to manage wlan, it
> > should handle eth0 when plug and it is fine for me. So how can I then
> > combine both eth ( with ifplugd) and wlan, so that, wlan take control
> > when no eth0 and release control when eth0 available ?
> 
> dpkg-reconfigure ifplugd
> 
> I have the first sceen blank and the second with eth0.
> 

or at /etc/default/ifplugd

`  ` ` `
##INTERFACES="eth0 wlan0"
INTERFACES="eth0"

` ` ` `

restart ifplugd

Stan Hoeppner | 1 Nov 2011 07:05

Re: ethernet bonding with severak machines

On 10/31/2011 6:00 PM, Jesus arteche wrote:
> Hey guys,
> 
> Do you know if it is possible to make Ethernet bonding between several
> machines?

If I correctly understand what you're asking, no, it is not possible.

> are there some way the create a high availability load balancer with
> several machines whit a bandwidth equal the sum of all the bandwidths ??

It would be best at this point if you described what you're trying to
accomplish and allow us to give recommendations.  There are many types
of load balancing, from layer 2 through 7.  To properly answer your
question we need to know exactly what you are trying to load balance,
and to what end.

For example, the most common types of load balancing are for SMTP, HTTP,
POP, and IMAP.  Load balancing SMTP simply requires multiple equal
priority MX records.  Load balancing HTTP and POP usually only requires
round robin DNS.  Load balancing IMAP may require a specialized director
server or proxy, especially in the case where the IMAP clients are
webmail servers.

--

-- 
Stan

Alan Chandler | 1 Nov 2011 06:50
Picon
Favicon
Gravatar

Menu editing on Gnome 3

Anyone any idea how to edit the applications menu in Gnome3.  I have 
KDiff3 in the "Other" menu and I can't figure out how to move it.

I've tried the "Menu Editor" sitting in System Tools, but it doesn't 
seem to all you to do anything other than add menu entries to which ever 
section it decides.

--

-- 
Alan Chandler
http://www.chandlerfamily.org.uk

J. Bakshi | 1 Nov 2011 07:50
Picon

Re: Learning ifpludg in CLI, WAS Re: laptop wireless setup, wpa_supplicant.conf, etc

On Tue, 1 Nov 2011 00:47:27 +0000
Brian <ad44 <at> cityscape.co.uk> wrote:

> On Mon 31 Oct 2011 at 12:53:21 -0700, keitho <at> strucktower.com wrote:
> 
> > If I boot the laptop with the Ethernet cable plugged in (eth0), that
> > connection works fine. 

A good practice might be to down the unused interface.

When using wired power-down wifi, as well as ifdown

` ` ` `
pre-up /sbin/ifdown wlan0
pre-up /sbin/iwconfig wlan0 txpower off
` ` ` `

When using wifi do the opposite.

You can also power-on wifi when wired is unplugged

` ` ` `
down  /sbin/iwconfig wlan0 txpower on
` ` ` `

pre-up, pre-down, post-up,.. etc.. statements are very helpful...

J. Bakshi | 1 Nov 2011 09:24
Picon

Re: is iy possible to call isolinux.cfg from GRUB2 ?

On Mon, 31 Oct 2011 23:46:38 +0530
"J. Bakshi" <bakshi12 <at> gmail.com> wrote:

> On Mon, 31 Oct 2011 23:45:02 +0530
> "J. Bakshi" <bakshi12 <at> gmail.com> wrote:
> 
> > Dear list,
> > 
> > Can we call isolinux.cfg from grub2 ? There are many live iso images which
> > have this isolinux.cfg and we can use the .iso with the loopback feature of grub2.
> > So it would be nice if we can just call the isolinux.cfg....
> > Possible ?
> > 
> > Thnaks
> 
> Obviously we need to call isolinux.bin first...

specifically chainloading isolinux....
people have been trying to do the same.
Any know solution ?

Thanks

bret | 1 Nov 2011 09:13
Favicon

Problem in trying to boot system

Hello.

  Our mailserver will no longer boot.

  In the weekend, I think it was, it was off when I tried to access it.
  (it had not been turned off by a human here)

  When I tried to boot it, I could no longer access it across the LAN.

  I have this afternoon, shifted it and connected it to a monitor, and
  tried to boot it.

  The boot sequence fails, and,  I get

  "
  cramfs: wrong magic
  FAT: Did not find valid FSINFO signature.
  Found signature1 0x0 signature2 0x0 sector= 1.
  request_module[nls_cp437]: Root fs not mounted
  Unable to load NLS charset cp437
  request_module[nls_cp437]: Root fs not mounted
  Unable to load NLS charset cp437
  request_module[nls_cp437]: Root fs not mounted
  Unable to load NLS charset cp437
  request_module[nls_cp437]: Root fs not mounted
  Unable to load NLS charset cp437
  Directory1: bad FAT
  Filesystem panic (dev 03:01)
  FAT error
  VFS: Mounted root (vfat filesystem) readonly
(Continue reading)


Gmane