Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » All Things Unix » Internet connection sharing with Firestarter
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Quest SQL Navigator equivalent for Linux »
« Hardy Heron/FF3 messed up with reverted FF2  
AuthorAll Replies


Maxo
Your tax dollars at work.
Premium,VIP
join:2002-11-04
Tallahassee, FL
clubs:
·Embarq


edit:
May 8th, @09:46PM

reply to evilghost
Re: Internet connection sharing with Firestarter

Click for full size
This screenshot should some up my current configuration.


Maxo
Your tax dollars at work.
Premium,VIP
join:2002-11-04
Tallahassee, FL
clubs:
·Embarq

And here's what I get on the other PC.

--
"Padre, nobody said war was fun now bowl!" - Sherman T Potter

»www.cafepress.com/maxolasersquad

»maxolasersquad.com/

»maxolasersquad.com/network/ My DSL Network Guide

»myspace.com/mlsquad


graysonf
Premium,MVM
join:1999-07-16
Fort Lauderdale, FL
reply to Maxo
Your eth0 is not legally configured. The IP address and gateway address are not in the same network.

Exactly what are you trying to do here?


Maxo
Your tax dollars at work.
Premium,VIP
join:2002-11-04
Tallahassee, FL
clubs:
I want eth1 (wireless) to be connected to the Internet and share that connection with eth0 (wired.)


graysonf
Premium,MVM
join:1999-07-16
Fort Lauderdale, FL

You need to be a lot more clear and screenshots are not the way to do it.

How many machines are involved?

How are they connected to what?

Provide the complete network configurations for all adapters:

IP:
Netmask:
Gateway (if any):

Generate some ascii art that shows the relationship between machines.


Maxo
Your tax dollars at work.
Premium,VIP
join:2002-11-04
Tallahassee, FL
clubs:
·Embarq

My original post was not clear, but I think the last one pretty much sums it up.
My laptop connects to the Internet via a wireless card. I want to share that wireless connection with a desktop PC. When I want to do this I currently just grab my wife's work laptop, connect it wireless and enable ICS on the wireless adapter. I hate the fact I don't know how to do this in Linux and I hate the fact I have to grab her work machine.
Any-who, the wireless router works on the 192.168.1.0/24 network. I don't really care what network the wired card goes to, as long as it will share the connection with the whatever is plugged in to it. I am currently trying to use the 192.168.0.0/24 network, but it doesn't make a difference if it is some other network range appropriate for intranets.
Hopefully the screen shot clears up what I am going for.
--
"Padre, nobody said war was fun now bowl!" - Sherman T Potter

»www.cafepress.com/maxolasersquad

»maxolasersquad.com/

»maxolasersquad.com/network/ My DSL Network Guide

»myspace.com/mlsquad


graysonf
Premium,MVM
join:1999-07-16
Fort Lauderdale, FL


edit:
May 8th, @11:04PM

I think you're doing too much, or trying to.

Make the wired ethernet card in 192.168.0.0/24 BUT with no gateway address. Say 192.168.0.10/24.

Enable IP forwarding between adapters. Read your documentation to see how to do this, it's somewhat different in the various distributions.

The desktop and laptop will have to be connected with a crossover cable (NIC to NIC will not work with a straight thru patch cord - unless the adapters can autosense).

Make the desktop also in 192.168.0.0/24, say 192.168.0.20/24 BUT with a gateway: 192.168.0.10.

Try this and let us know.


evilghost
Premium
join:2003-11-22
Springville, AL
·Windstream

reply to Maxo
I had issues with DHCP working too w/Firestater and sharing. What I did was just static allocate an address.

On the client:
sudo ifconfig eth0 192.168.0.2 netmask 255.255.255.0
sudo route add default gw 192.168.0.1

Bet it works then.


Maxo
Your tax dollars at work.
Premium,VIP
join:2002-11-04
Tallahassee, FL
clubs:
·Embarq

For unrelated reasons I just did a clean Gutsy install on this laptop.
I did your instructions with no dice, then remembered I had not yet install dhcp. I did that,but on start I get
syslog tells me
said by syslog :

No subnet declaration for eth1 (192.168.1.2).
Please write a subnet declaration in your dhcpd.conf file for the
network segment to which interface eth1 is attached.
This is what dhcpd.conf look like.

--
"Padre, nobody said war was fun now bowl!" - Sherman T Potter

»www.cafepress.com/maxolasersquad

»maxolasersquad.com/

»maxolasersquad.com/network/ My DSL Network Guide

»myspace.com/mlsquad


graysonf
Premium,MVM
join:1999-07-16
Fort Lauderdale, FL

I don't use DHCP on any of my systems here. But I do have the DHCP server running on the router so if someone comes in with a box and they do use DHCP, they can get an IP that will work.

So, I can't help you with that part.

Your existing wireless setup works, right? So leave all of that the way it is. Then try getting this second set of NICs working with hard coded IPs. Once you get up and running, you can try with DHCP.

Frankly, I just wouldn't complicate something that isn't working yet. Get it working first, then break it


shdesigns
Powered By Infinite Improbabilty Drive
Premium
join:2000-12-01
Stone Mountain, GA
·Atlantic Nexus

reply to Maxo
If you are not using DHCP on an interface, you have to tell dhcpd to not use it add to dhcpd.conf:

subnet 192.168.1.0 netmask 255.255.255.0 {
}

That will basically say it does not need to worry about eth0.

The interfaces can be specified on the comamnd line, you will need to find out how to specify that in your distro.
--
Scott Henion

Embedded Systems Consultant, shenion on #ATU @irc.freenode.net
SHDesigns home


Maxo
Your tax dollars at work.
Premium,VIP
join:2002-11-04
Tallahassee, FL
clubs:
·Embarq

said by shdesigns See Profile :

If you are not using DHCP on an interface, you have to tell dhcpd to not use it add to dhcpd.conf:

subnet 192.168.1.0 netmask 255.255.255.0 {
}

That will basically say it does not need to worry about eth0.

The interfaces can be specified on the comamnd line, you will need to find out how to specify that in your distro.
Ok, I did that and now /etc/init.d/dhcp will start. The other computer still won't get an IP address. I crashed for the night. Hopefully I'll get to it some more tonight.
Forums » Tech and Talk » OS and Software » All Things UnixQuest SQL Navigator equivalent for Linux »
« Hardy Heron/FF3 messed up with reverted FF2  


Tuesday, 14-Oct 10:52:17 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 9 years online! © 1999-2008 dslreports.com.
page compression OFF
Most commented news this week
· [68] Comcast: Hey, At Least We're Not Hiking Broadband/VoIP Prices
· [30] 72% Of P2P Pirates Would Stop With ISP Warning
· [28] Google: We're Fresh Out Of Androids
· [27] AT&T To Sell U-Verse At Walmart, Circuit City
· [27] Crackberry Addicts Fear Microsoft Takeover
· [24] Virgin: Our 50Mbps Tier Breaks Your Speed Tests
· [18] FCC's Smut-Free Broadband Plan Goes Forward
· [15] All Hail the New RIAA Copyright Czar
· [11] Monday Evening Links
· [3] Checking Out Dish's 1080p Offering
Most people now reading
· Official Patch Notes - 3.0.2 [World of Warcraft]
· Extreme HD and Essentials [Verizon FIOS TV]
· [Rant] People in SC DO NOT know how to drive...PERIOD [Rants, Raves, & Praise]
· Windows 7 final Name is 'Windows 7' [Microsoft help]
· Legal for an employer to deny employment based on: [General Questions]
· What means head of man in the sea or lake water? [General Questions]
· [ Classes] Hunters in 3.0.2 (from BRK and WoWInsider.com) [World of Warcraft]
· IMG 1.6 Build 06.89 Released [Verizon FIOS TV]
· This Worries Me [TekSavvy]