  Maxo Your tax dollars at work. Premium,VIP join:2002-11-04 Tallahassee, FL clubs:
·Embarq
| Internet connection sharing with Firestarter
This screen shot sums up my configuration and the problem I am running in to. eth0 is my wired connection with a cable running from my Gutsy laptop to my Hardy desktop. eth1 is my wireless connection. The laptop is fully online with Wireless, but I am trying to share it to a desktop, without success. Any eye-deers? |
|
  evilghost
join:2003-11-22 Springville, AL edit: May 7th, @11:28PM
| eth0 needs an IP address, pick an RFC1918 one  |
|
  Maxo Your tax dollars at work. Premium,VIP join:2002-11-04 Tallahassee, FL clubs:
·Embarq
| said by evilghost :eth0 needs an IP address, pick an RFC1918 one I had tried hard coding eth0 to have an IP of 192.168.0.1, but I still had errors. When I get back to my laptop I'll hardcode it again and post back what I get. |
|
  Maxo Your tax dollars at work. Premium,VIP join:2002-11-04 Tallahassee, FL clubs:
·Embarq
edit: May 8th, @09:46PM
| reply to evilghost 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
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 :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. |
|