Connect 2 laptops with RJ45 cable (Ubuntu 10.10 laptop with Windows 7 laptop)


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Connect 2 laptops with RJ45 cable (Ubuntu 10.10 laptop with Windows 7 laptop)
# 1  
Old 11-22-2010
Connect 2 laptops with RJ45 cable (Ubuntu 10.10 laptop with Windows 7 laptop)

Hi to all,

I have the problem that a laptops with windows XP cannot startup even in safe mode nor using last good known configuration. I have a Ubuntu 10.10 Live CD and booting from it I can read the Hard Drive.

I need to do a backup the Hard Drive from XP laptop and I want to connect this laptop (Windows XP) with another one that has installed Windows 7 using a RJ45 cable(crossover) or wirelessly, both are within the same home LAN.

I found a procedure to do it between 2 windows computers, setting up static IPs in both computers
Code:
Laptop_1: IP=192.168.1.215, SNmask=255.255.255.0, default-gateway=192.168.1.7
Laptop_2: IP=192.168.1.216, SNmask=255.255.255.0, default-gateway=192.168.1.7

but I dont know how to connect with success Ubuntu(LiveCD)-Windows 7 laptops, specially how to do the right configuration within Ubuntu 10.10.

May somebody help me out with this issue, if you have a step by step procedure must be great for me to learn it.

Many thanks in advance for any help.

Regards.
# 2  
Old 11-22-2010
Quote:
Originally Posted by cgkmal
but I dont know how to connect with success Ubuntu(LiveCD)-Windows 7 laptops, specially how to do the right configuration within Ubuntu 10.10.
From a root prompt, assuming your computer's network adapter is eth0(might be eth1 if there's more than one):
Code:
ifconfig eth0 192.168.1.215 netmask 255.255.255.0
route add default gw 192.168.1.7

...though I'm confused what the default gateway's supposed to do when two computers are joined with a loopback and nowhere else to anything else. You can probably omit it.

If Ubuntu finds a DHCP server it'll wipe out those settings when it autoconfigures, but it shouldn't when it sees nothing but a loopback cable.
Quote:
May somebody help me out with this issue, if you have a step by step procedure
procedure to do what? What do you want to do with these computers once they're talking over IP?
# 3  
Old 11-23-2010
Hi Corona688,

Thanks for your answer, it works set up static IP to eth0 in that easy way.

I had to install Samba file sharing in ubuntu, send as root user the command
sudo smbpasswd -a user

to enable file sharing between ubuntu and Windows laptop. I did connecting
both laptops with a straight cable (I was thinking it was posibly only with crossover cable). The transfer rate is lower than 3Mb/s, but at least is better than using a USB pendrive.

Thanks a lot for your help.

Best regards.
# 4  
Old 11-24-2010
Quote:
Originally Posted by cgkmal
I did connecting both laptops with a straight cable (I was thinking it was posibly only with crossover cable).
Technically, recent ethernet interfaces should autodetect whether the transmit/receive pairs are reversed. I've found that they do so badly, though, especially with cheap cards; often negotiating down to lower speeds than they would if the cable was properly crossed.

There may be other reasons for the slow transfer speed, of course. I do hope you mean 3 megabytes at least, not 3 megabits!
# 5  
Old 11-29-2010
I'd use a crossover cable in this case. As the speed you are getting is not ideal, try and and hard set the NIC card speed/duplex on both sides of the cable to see if that works better.

speed=100; duplex=full; ... for example
OR
speed-auto; duplex=auto ... just use whatever works best
# 6  
Old 11-29-2010
Quote:
Originally Posted by nocleader
I'd use a crossover cable in this case. As the speed you are getting is not ideal, try and and hard set the NIC card speed/duplex on both sides of the cable to see if that works better.

speed=100; duplex=full; ... for example
typed into where? If his card supports it at all, I'd suggest using mii-tool to force duplexes instead of some nonstandard config file...
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Multiboot on a laptop: windows Solaris Linux

Hi Just want to share.... Multiboot: winlinsos; June 2016 Lenovo x230, 4GB - No internal DVD driver I have # fdisk -l Disk /dev/sda: 120.0 GB, 120034123776 bytes, 234441648 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O... (0 Replies)
Discussion started by: van12
0 Replies

2. Ubuntu

Laptop to laptop transfer files

Dear all, I would like to transfer my old laptop documents/files etc to the new laptop without using any external hard disk. Please let me know if its possible via any way. Thank in advance, emily (3 Replies)
Discussion started by: emily
3 Replies

3. Solaris

Connect from Dell Laptop to SunBlade 100

Hi All I connect to my SunBlade using the keyboard/mouse provided by the sun. Now I would like to connect to it using my dell laptop running on Windows 7. I have connected the laptop to the SunBlade using just a one crossover 9-pin connector using the free/basic version of the terminal... (24 Replies)
Discussion started by: tomicmanka
24 Replies

4. Ubuntu

Ubuntu Lenovo Thinkpad E520-1143 Laptop

Is it possible to install Ubuntu 11.04 or Ubuntu 11.10 in Lenovo Thinkpad E520-1143 Now it Powerd By windowd Xp Professional is it possible to install Ubuntu in it and supports all drivers for ma laptop such as VGA driver Sound,Wireless,Lan , fingerprint,camera pls reply r is it possible to... (0 Replies)
Discussion started by: babinlonston
0 Replies

5. Hardware

How to connect a 4TB G-Raid hard drive to a laptop?

I am having trouble connecting my 4TB G-Raid Hard drive to my Compaq Hp laptop can anyone tell me how or what I need in order to connect the 4T and getting it working. (10 Replies)
Discussion started by: Jake Wolf
10 Replies

6. Ubuntu

power management in ubuntu for laptop

Hi I have the following problem, when I try to work on battery in my laptop, ubuntu consumes power very rapidly and after couple of minuts my laptop is out of battery power. Previosly had win xp on that machine and win was able to manage battery power much better then linux. Is there any... (1 Reply)
Discussion started by: presul
1 Replies

7. Ubuntu

no wireless access on my laptop in ubuntu 9.10

Hii i have installed ubuntu 9.10 and my hp laptop has a wireless (this one works just like the normal volume button touch screen if u touch it wireless works or else it doesnot ) now after installing ubuntu it glows always red and never turn blue.. i have windows 7 on other partition it... (0 Replies)
Discussion started by: phoenix_nebula
0 Replies

8. Ubuntu

Toshiba Laptop Won't Run Bluetooth with Ubuntu

I am running Ubuntu 8.1 on a Toshiba Satellite P105-S9337 with built-in Bluetooth hardware. I cannot get the Bluetooth hardware to work with my Microsoft Bluetooth mouse. I have installed the tosh software with no luck. Does anyone have an idea as to what to try. I have several kernel mods... (0 Replies)
Discussion started by: tjloeb
0 Replies

9. UNIX for Dummies Questions & Answers

How to connect laptop to Unix system via Parallel port

Hi, I have been using a computer to keep track of inventory for my business. I am pretty sure it runs on Unix. In the back of the computer there is some sort of PCI card that has about 8 RJ-11 ports on it. I use that card to connect the Unix system to my 3 VT-220 terminals. I use a simple 6... (1 Reply)
Discussion started by: john202
1 Replies
Login or Register to Ask a Question