Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
NOTE - "Similar Threads" did not help me with this.
I have two identical laptops. One has an installed Ubuntu and parts that I want to use. The box itself is all beat up. The other box is newer but has a stale edition of linux. (Stale software means "seldom used.") I thought to be clever I would pull drive-A from box-A and install it into box-B. Likewise, I would install drive-B into box-A. This will leave my clunky software on my battered box and my newer software on the newer box.
Mechanically it works (doh!). However, neither box will see the network. When I look at the logs, I find a "rename wlan0 to wlan1" entry among others. If I put the drives back into their original box, all works correctly.
What could be going on that I cannot move the drives and have things just boot and run?
I thought that system start would detect the installed hardware, load the required drivers and all is right with the world. The "rename" log entry suggests that the old hardware details are somehow in the way of the new hardware discovery and configuration.
Is there some command I need to use or utility that I ought to run that says, "rediscover my hardware" or similar?
I already know how to use clonezilla and other ways to duplicate a drive contents to a second drive. (Note to reader: laptop drive to usb drive clonezilla takes quite some amount of time.)
Another reason that this is important lies in the ability to move a drive from in-use but failed hardware to stand-by working hardware in a fail soft recovery situation. I know that win-doze knows about the installed hardware and demands a re-install or "repair" to the alternate box... but this is linux not win-doze.
OK! OK! I'm writing this on a wired box but the WiFi entry will be similar.
Swap the disk into the other system and try again.
I'd reckon you're probably set for DHCP so should just get an IP dished out to you but there may be a network config file which is no longer valid in the other machine. Nope, I don't know what it would be... I'm into concepts, don't bother me with details!
Might be somewhere to start looking?
Play Bonny!
Last edited by Soadyheid; 10-07-2010 at 05:06 PM.
Reason: addition
You can try find "wlan1" in file /etc/udev/rules.d/70-persistent-net.rules and rename it to "wlan0" and then restart. Maybe it help, but network also depends on other things.
The disks may be swapped but the network cards will have different MAC addresses hence the appearance of wlan1.
When I move to the other machine, the wifi devices do not seem to exist at the command line. Specifically, the radio on-off LED is OFF. With the radio OFF, no wonder it did not properly detect and configure. Both laptops have the Intel 4965 AGN wireless card.
Quote:
Originally Posted by Soadyheid
Play Bonny!
You've helped me before...
... is Bonny your daughter or cat
...
Oh! Forgot to ask, have you managed to get your wireless enabled before and after you swap the disks? If so, does it fix the problem?
Nope?! The radio is on and works with disk-A in box-A etc. However with disk-A in box-B the radio is off. I've no idea why or what to do.
I've not played with net config from the command line and
all of the gooey tools fail to see any wifi to configure. This fail
is likely due to the "radio off" issue that I cannae find how to
turn on manually.
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,671
Rep:
Quote:
I have two identical laptops.
So what make/model are they? Are the BIOS versions identical? You mention one is "newer" I'm looking for hardware/firmware differences - different tack, might as well ask before diving into config files!
So what make/model are they? Are the BIOS versions identical? You mention one is "newer" I'm looking for hardware/firmware differences - different tack, might as well ask before diving into config files!
Play Bonny Y'All!
Are these details something that
Code:
diff dmidecode1.log dmidecode2.log
or similar would reveal?
Is some other "report" and diff more helpful?
~~~ 0;-Dan
dmidecode is a tool for dumping a computer's DMI (some say SMBIOS) table contents in a human-read‐able format. This table contains a description of the system's hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without having to probe for the actual hardware. While this is a good point in terms of report speed and safeness, this also makes the presented information pos‐sibly unreliable.
The DMI table doesn't only describe what the system is currently made of, it also can report the possible evolutions (such as the fastest supported CPU or the maximal amount of memory supported).
SMBIOS stands for System Management BIOS, while DMI stands for Desktop Management Interface. Both standards are tightly related and developed by the DMTF (Desktop Management Task Force).
Here is what I see:
Code:
# dmidecode 2.9
SMBIOS 2.4 present.
63 structures occupying 2135 bytes.
Table at 0x000E0010.
Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: LENOVO
Version: 7SET38WW (1.24 )
Release Date: 10/12/2009
Address: 0xE0000
Runtime Size: 128 kB
ROM Size: 4096 kB
Characteristics:
PCI is supported
PC Card (PCMCIA) is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
ESCD support is available
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
ACPI is supported
USB legacy is supported
BIOS boot specification is supported
Targeted content distribution is supported
BIOS Revision: 1.36
Firmware Revision: 1.2
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: LENOVO
Product Name: 7764CTO
Version: ThinkPad X61 Tablet
Serial Number: LVB7FTC
UUID: 845DFFE0-5A59-11DD-9FB5-8D95167B8B79
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: ThinkPad X61 Tablet
Handle 0x0002, DMI type 2, 8 bytes
Base Board Information
Manufacturer: LENOVO
Product Name: 7764CTO
Version: Not Available
Serial Number: 1ZF3S87J2ZT
Handle 0x0003, DMI type 3, 13 bytes
Chassis Information
Manufacturer: LENOVO
Type: Notebook
Lock: Not Present
Version: Not Available
Serial Number: Not Available
Asset Tag: No Asset Information
Boot-up State: Unknown
Power Supply State: Unknown
Thermal State: Unknown
Security Status: Unknown
Handle 0x0004, DMI type 126, 13 bytes
Inactive
Handle 0x0005, DMI type 126, 13 bytes
Inactive
Handle 0x0006, DMI type 4, 35 bytes
Processor Information
Socket Designation: None
Type: Central Processor
Family: Other
Manufacturer: GenuineIntel
ID: FB 06 00 00 FF FB EB BF
Version: Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz
Voltage: 1.1 V
External Clock: 200 MHz
Max Speed: 1600 MHz
Current Speed: 1600 MHz
Status: Populated, Enabled
Upgrade: None
L1 Cache Handle: 0x000A
L2 Cache Handle: 0x000C
L3 Cache Handle: Not Provided
Serial Number: Not Specified
Asset Tag: Not Specified
Part Number: Not Specified
Handle 0x0007, DMI type 5, 20 bytes
Memory Controller Information
Error Detecting Method: None
Error Correcting Capabilities:
None
Supported Interleave: One-way Interleave
Current Interleave: One-way Interleave
Maximum Memory Module Size: 4096 MB
Maximum Total Memory Size: 8192 MB
Supported Speeds:
Other
Supported Memory Types:
DIMM
SDRAM
Memory Module Voltage: 2.9 V
Associated Memory Slots: 2
0x0008
0x0009
Enabled Error Correcting Capabilities:
Unknown
... ad nauseum ...
I'll run on both workstations and report the DIFF shortly.
~~~ 0;-Dan
Other than the "IBM Security" widget (which I don't have a clue what it is or does), I don't see any differences that would result in the wholesale rejection of disk_B installed into box_A.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.