[Server-devel] Cloning and hardware addresses

2010-12-02 Thread David Leeming
I have been cloning a master XS hard drive onto a number of copies, to be
used in different computers (of the exact same type). I used the following
simple way of cloning

 

dd bs=8192 if=/dev/sda of=/dev/sdb 

 

where sda is the master and sdb is connected via USB. This done using a live
CD to boot it up.

 

The clones work fine in the same PC as was used with the master. However, on
booting a cloned HDD in another machine it does not detect the NICs (the
computer has 2). I assume I have to delete the HWADDR= line somewhere, for
both eth0 and eth1.

 

Question is, where? Or should this be done another way?

 

David Leeming

Solomon Islands Rural Link 



 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Cloning and hardware addresses

2010-12-02 Thread Jerry Vonau
On Thu, 2010-12-02 at 20:38 +1100, David Leeming wrote:
 I have been cloning a “master” XS hard drive onto a number of copies,
 to be used in different computers (of the exact same type). I used the
 following simple way of cloning
 
  
 
 dd bs=8192 if=/dev/sda of=/dev/sdb 
 
  
 
 where sda is the master and sdb is connected via USB. This done using
 a live CD to boot it up.
 
  
 
 The clones work fine in the same PC as was used with the master.
 However, on booting a cloned HDD in another machine it does not detect
 the NICs (the computer has 2). I assume I have to delete the “HWADDR=”
 line somewhere, for both eth0 and eth1.
 
  

/etc/udev/rules.d/70-persistent-net.rules
Delete the lines that refer to all the eth devices and reboot

Jerry


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Cloning and hardware addresses

2010-12-02 Thread David Leeming
Cheers Jerry!

David Leeming

-Original Message-
From: Jerry Vonau [mailto:jvo...@shaw.ca] 
Sent: Thursday, 2 December 2010 9:02 p.m.
To: David Leeming
Cc: 'XS Devel'
Subject: Re: [Server-devel] Cloning and hardware addresses

On Thu, 2010-12-02 at 20:38 +1100, David Leeming wrote:
 I have been cloning a “master” XS hard drive onto a number of copies,
 to be used in different computers (of the exact same type). I used the
 following simple way of cloning
 
  
 
 dd bs=8192 if=/dev/sda of=/dev/sdb 
 
  
 
 where sda is the master and sdb is connected via USB. This done using
 a live CD to boot it up.
 
  
 
 The clones work fine in the same PC as was used with the master.
 However, on booting a cloned HDD in another machine it does not detect
 the NICs (the computer has 2). I assume I have to delete the “HWADDR=”
 line somewhere, for both eth0 and eth1.
 
  

/etc/udev/rules.d/70-persistent-net.rules
Delete the lines that refer to all the eth devices and reboot

Jerry



___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS on ASUS Netbook - Display Problem

2010-12-02 Thread Andra DuPont
Martin,
Thanks for the suggestion. I will run lsmod.

After sleeping on it, I think the conflicting driver must
be related to the backlighting on the display, not the graphics processor. The 
Acer and Asus have the same 
graphics hardware, but the displays are different.

Andy

On Dec 1, 2010, at 10:43 PM, Martin Langhoff wrote:

 On Wed, Dec 1, 2010 at 8:14 PM, Andra DuPont andradup...@gmail.com wrote:
 So apparently one of the drivers that is installed is conflicting with the 
 screen brightness.
 
 Your analysis seems 100% correct.
 
 I'd suggest -
 
 - run lsmod, it'll tell you what modules are being loaded - one of
 them will be controlling your video card -- for example an i915 card
 loads intel_agp, drm and i915
 
 - name those modules in /etc/modules/blacklist.conf so they don't get loaded
 
 but I agree with you, it's very strange that you need to go through this 
 dance.
 
 cheers,
 
 
 m
 -- 
  martin.langh...@gmail.com
  mar...@laptop.org -- School Server Architect
  - ask interesting questions
  - don't get distracted with shiny stuff  - working code first
  - http://wiki.laptop.org/go/User:Martinlanghoff

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS on ASUS Netbook - Display Problem

2010-12-02 Thread Andra DuPont
Martin,
Looking at some Fedora sites, I see where there are many post of problems with 
the Eee PC
and backlighting. Based on what I read, I decided to update the BIOS, and 
although it didn't fix the
problem completely, the screen now has about 10% brightness, so I can actually 
read it if the room
is not too bright.

some people have reported a fix in fedora that uses grub kernel options:

acpi_osi=Linux acpi_backlight=vendor

I will try putting these in the /boot/grub/menu.lst file.

Is this the right place? Any suggestions?

Andy


On Dec 2, 2010, at 10:02 AM, Andra DuPont wrote:

 Martin,
 Thanks for the suggestion. I will run lsmod.
 
 After sleeping on it, I think the conflicting driver must
 be related to the backlighting on the display, not the graphics processor. 
 The Acer and Asus have the same 
 graphics hardware, but the displays are different.
 
 Andy
 
 On Dec 1, 2010, at 10:43 PM, Martin Langhoff wrote:
 
 On Wed, Dec 1, 2010 at 8:14 PM, Andra DuPont andradup...@gmail.com wrote:
 So apparently one of the drivers that is installed is conflicting with the 
 screen brightness.
 
 Your analysis seems 100% correct.
 
 I'd suggest -
 
 - run lsmod, it'll tell you what modules are being loaded - one of
 them will be controlling your video card -- for example an i915 card
 loads intel_agp, drm and i915
 
 - name those modules in /etc/modules/blacklist.conf so they don't get loaded
 
 but I agree with you, it's very strange that you need to go through this 
 dance.
 
 cheers,
 
 
 m
 -- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS on ASUS Netbook - Display Problem

2010-12-02 Thread Andra DuPont
Martin,
Success...

I edited the /boot/grub/menu.lst file so that the kernel line is now

 kernel /vmlinuz-2.6.27.25-78.2.56.fc9.i686 ro 
root=UUID=58ef33d6-bd02-4a2c-830b-2515ff9368ed rhgb quiet acpi_osi=Linux 
acpi_backlight=vendor

On the first reboot, the boot process paused for about 30 seconds at
the starting udev stage. The screen went dim, but when the server
was fully booted, the fn+F6 key worked to raise the brightness!

On second reboot, the boot process did not pause, and the screen remained 
bright. Issue solved.

You may want to consider adding this to future server releases, assuming that 
it doesn't
cause problems on other platforms.

Andy


On Dec 2, 2010, at 11:12 AM, Andra DuPont wrote:

 Martin,
 Looking at some Fedora sites, I see where there are many post of problems 
 with the Eee PC
 and backlighting. Based on what I read, I decided to update the BIOS, and 
 although it didn't fix the
 problem completely, the screen now has about 10% brightness, so I can 
 actually read it if the room
 is not too bright.
 
 some people have reported a fix in fedora that uses grub kernel options:
 
   acpi_osi=Linux acpi_backlight=vendor
 
 I will try putting these in the /boot/grub/menu.lst file.
 
 Is this the right place? Any suggestions?
 
 Andy
 
 
 On Dec 2, 2010, at 10:02 AM, Andra DuPont wrote:
 
 Martin,
 Thanks for the suggestion. I will run lsmod.
 
 After sleeping on it, I think the conflicting driver must
 be related to the backlighting on the display, not the graphics processor. 
 The Acer and Asus have the same 
 graphics hardware, but the displays are different.
 
 Andy
 
 On Dec 1, 2010, at 10:43 PM, Martin Langhoff wrote:
 
 On Wed, Dec 1, 2010 at 8:14 PM, Andra DuPont andradup...@gmail.com wrote:
 So apparently one of the drivers that is installed is conflicting with the 
 screen brightness.
 
 Your analysis seems 100% correct.
 
 I'd suggest -
 
 - run lsmod, it'll tell you what modules are being loaded - one of
 them will be controlling your video card -- for example an i915 card
 loads intel_agp, drm and i915
 
 - name those modules in /etc/modules/blacklist.conf so they don't get loaded
 
 but I agree with you, it's very strange that you need to go through this 
 dance.
 
 cheers,
 
 
 m
 -- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
 
 

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] XS on ASUS Eee PC Network Driver Missing

2010-12-02 Thread Andra DuPont
I'm installing XS 0.6 on an ASUS Eee PC with an Atheros AR8132 Network Chipset
which is not supported on the current XS distribution.

There are linux drivers for this hardware, but I need help on determining which
driver distribution to download, and how to install it.

Does anyone have experience with drivers?

Thanks,
Andy
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Cloning and hardware addresses

2010-12-02 Thread David Leeming
On Thu, 2010-12-02 at 20:38 +1100, David Leeming wrote:
 I have been cloning a “master” XS hard drive onto a number of copies,
 to be used in different computers (of the exact same type). I used the
 following simple way of cloning
 
  
 
 dd bs=8192 if=/dev/sda of=/dev/sdb 
 
  
 
 where sda is the master and sdb is connected via USB. This done using
 a live CD to boot it up.
 
  
 
 The clones work fine in the same PC as was used with the master.
 However, on booting a cloned HDD in another machine it does not detect
 the NICs (the computer has 2). I assume I have to delete the “HWADDR=”
 line somewhere, for both eth0 and eth1.
 
  

 /etc/udev/rules.d/70-persistent-net.rules
 Delete the lines that refer to all the eth devices and reboot
 Jerry

Sub note to this. I found I had to delete the file altogether. Then it works. 
It regenerates the file with the new hardware addresses so if the HDD is moved 
again, I guess this step needs repeating.



___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS on ASUS Netbook - Display Problem

2010-12-02 Thread Martin Langhoff
On Thu, Dec 2, 2010 at 11:34 AM, Andra DuPont andradup...@gmail.com wrote:
 Martin,
 Success...

Glad to hear!

 You may want to consider adding this to future server releases, assuming that 
 it doesn't
 cause problems on other platforms.

When I get some time to work on the next release, we should revisit
this with you.

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS on ASUS Eee PC Network Driver Missing

2010-12-02 Thread tom
On Fri, December 3, 2010 7:56 am, Andra DuPont wrote:
 Did your update from linuxwireless fix the wired adaptor?

Oh sorry, I assumed you were talking about the wireless adaptor. The XS
distribution is getting quite old now, so it's perhaps unsurprising it
doesn't support modern hardware.

While preparing for deployment, I used the wifi on the XS to access my
LAN, and connected the XO access points to the XS's wired adapter. We
didn't use the XS's wifi at the deployment.

Good luck making your wired adapter work.

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel