> I set up my spare Gentoo box up as a wireless router for my new
> Verizon ADSL connection by following the instructions here:
>
> http://www.gentoo.org/doc/en/home-router-howto.xml
>
> My setup is a little different though because I'm using a madwifi card
> to provide wireless access. Things are working really well, but I've
> got a couple questions I'm hoping someone can help with.
>
> 1. I can't actually get:
>
> config_eth0="adsl"
>
> to work. It always says: TIMED OUT. I'm using:
>
> config_eth0="dhcp"
>
> instead which times out half the time and half the time gets me the IP
> 192.168.1.47 and provides connection to the Internet. Isn't that
> weird? Is it even checking my username/password that's in the
> ppp/pppoe config files?
Are you sure that you got a ADSL Modem or is it a Router. I'm sure they
have given you some instructions as to how to connect using Windows
machine. Can you quote them, as to how to set up the network in windows
machine. It'll clear a great deal of things. Also since the config_eth0
is "dhcp" I seriously doubt you got a Plain DSL Modem, I think they have
provided you a Router.
The instructions are all on CD. I reviewed them again and it's just
"plug in the power cord, plug in the ethernet cable, plug in the phone
cord" stuff. I'm completely sure it's just a DSL modem. It only has
one ethernet port and no wireless antenna. What's could be going on
with this? It seems really weird to me. Is there another Gentoo ADSL
guide I should try to follow besides this one:
http://www.gentoo.org/doc/en/home-router-howto.xml
> 2. I followed the instructions at the above link to set up iptables. When I
try to ssh into the router
> from another machine on the network,
> I get "Connection refused." I'm guessing it's from the firewall. Is
> there a good utility that will allow me to manage the firewall?
If you got this line,
iptables -A INPUT -p TCP --dport ssh -i ${WAN} -j ACCEPT
as suggested by the above link while setting up the firewall, then there
is no problem from the firewall. Are you sure you've started the ssh
server on your router? To start the ssh server, type this:
/etc/init.d/sshd start
To start the ssh server everytime you boot the system, add ssh server to
default run level, like this,
rc-update add ssh default
Hope this should make the ssh server accessible from the systems in your
network.
I had forgotten that I changed the ssh port to a high number. Working
now. Sorry about that.
- Grant
--
gentoo-user@gentoo.org mailing list