Friday, April 19, 2013

Networking - Ubnuntu Linux. Trying to connect another computer to my Linux to use its internet connection?

Q. I am trying to connect another laptop to my linux laptop while its connected to the internet. I want to make a network on my Ubuntu Linux laptop. How?

A. I'm assuming your laptop with the Internet connection is connected with WiFi and the other laptop is hardwired to it with ethernet. You didn't specify a network setup, so this could be totally wrong.

You need to set up NAT on the computer with the Internet connection. Once you have that set up, you should configure the two ethernet interfaces (one on each laptop, they're connected to each other w/ a crossover cable) with IP addresses from a private IP range. You could use something such as 172.16.1.1 (laptop w/ Internet) and 172.16.1.2 (laptop w/o Internet). Then on the laptop w/o Internet, specify it's default gateway as 172.16.1.1.

Don't forget to turn on packet forwarding, this is a common problem that people have and can't seem to figure out:

echo 1 > /proc/sys/net/ipv4/ip_forward

This howto explains the process.

http://www.howtoforge.com/nat_iptables

How do I switch my Chromebook back to Linux OS?
Q. I recently bought a Acer C7 Chromebook. The only downfall I could see was that it ran on Chrome OS but I had found I could get ChrUbuntu on it and it would run as a fully functional linux laptop. I did this and it worked but since the Chrome OS still lives on in its own dedicated partition it automatically booted into the Chrome OS when I restarted the computer. I would like to know how to run it back in ChrUbuntu. I know it's still on my computer but I don't know how to boot back into it. Thanks in advance!

A. delete the chrome os & reinstall the chrubintu os

How do I connect Windows and Linux?
Q. I have two laptops behind the same router. Both connect to the internet just fine. One is Windows XP Media Center Edition and the other is Ubuntu 6.06. I'm used to using Windows file sharing to share files between Windows laptops. I want to do something similar now between the Windows and Linux laptop. I just care about reliability, speed, and convenience, not security. What are my options and how do I do it?

A. you need to install samba on your linux machine in order for windows to see your linux files.

on linux, you need to mount the windows share using the mount command. you'll need to use type "cifs".

if you can't figure it out, you could always just use IIS WebDAV on windows and Apache WebDAV on Linux. Same concept and it lets you access files just as you normally would but using the HTTP protocol.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment