Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
Status:Enable; VPI:0; VCL:35; Protocol:Bridge Bridge Broadcast Enabled Bridge Multicast Enabled Ooohhh, it's a /bridge/... I hadn't realised that. All of the routers I'm familiar with have acted as gateways/firewalls - and to be honest I don't really know how to deal with bridges. You could /try/ disabling the Private LAN option, which I suspect would remove the router from the equation and expose your Gentoo router completely to the Net. OTOH it might not. Be prepared and have your software-firewall-of-choice ready. ;) Ryan The router actually won't let me disable the private LAN option. It says I cannot disable both private and public LANs. That makes sense. The static NAT option should remove the router from the equation and expose your Gentoo router completely to the Net anyway right? I'll see what I can find out about the rest of those options online. - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
Grant wrote: Are you sure I can disable internal DHCP? My Gentoo router needs to use DHCP to get an IP address from the Westell modem/router right? - Grant Sorry, was half asleep when I wrote that - of course the modem won't be assigning addresses to your other boxes since they're on the other side of the router. On the other hand, most DMZ options require the target to have a static IP anyway... Ryan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
Grant wrote: ### Status:Enable; VPI:0; VCL:35; Protocol:Bridge Bridge Broadcast Enabled Bridge Multicast Enabled Ooohhh, it's a /bridge/... I hadn't realised that. All of the routers I'm familiar with have acted as gateways/firewalls - and to be honest I don't really know how to deal with bridges. You could /try/ disabling the Private LAN option, which I suspect would remove the router from the equation and expose your Gentoo router completely to the Net. OTOH it might not. Be prepared and have your software-firewall-of-choice ready. ;) Ryan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
Sounds good to me. Could this be the same type of feature as the DMZ Port/Host: ### Static NAT Set Up an IP Address to be your Default NAT Destination. Static NAT Device or specify IP Address All unsolicited inbound traffic will be sent to the above device. Note: Static Nat and IP Passthrough are mutually exclusive features. ### - Grant Perfect. Just make sure your Gentoo router's external IP is static, not DHCP-assigned. Ryan Great, the only things enabled on the Westell modem/router at this point are as follows: ### Status:Enable; VPI:0; VCL:35; Protocol:Bridge Bridge Broadcast Enabled Bridge Multicast Enabled Private LAN Enabled Service Name: IPSEC ALG; Service Mode: Client; Host Device: Dynamic Static NAT Enabled for 192.168.1.2 Enabled ATM 0/21 Loopback ### Do you know if I can disable any of that? Is there any way to be sure the Gentoo router is handling all DNS lookups for the network? There isn't an explicit Disable DNS option on the Westell. - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
I'd like it to behave that way as much as possible so my Gentoo router can handle as many of the router duties as possible. I've disabled the Westell's firewall. What other types of things should I look for in the Westell's configuration screen to disable? Is there anything that might prevent this modem/router from behaving like a modem for all intents and purposes so my Gentoo router can behave like a router connected to a modem? Some routers have a DMZ Port or DMZ Host option that will make the router automatically forward all ports to the machine configured on that port. If you like, you can even disable things like name serving and internal DHCP and let your Gentoo router handle those (if you followed the Home Router guide and used dnsmasq). If you have no Windows boxes on your network, you can safely disable WINS and/or NetBIOS name resolution. Ryan Sounds good to me. Could this be the same type of feature as the DMZ Port/Host: ### Static NAT Set Up an IP Address to be your Default NAT Destination. Static NAT Device or specify IP Address All unsolicited inbound traffic will be sent to the above device. Note: Static Nat and IP Passthrough are mutually exclusive features. ### - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
snip I'd like it to behave that way as much as possible so my Gentoo router can handle as many of the router duties as possible. I've disabled the Westell's firewall. What other types of things should I look for in the Westell's configuration screen to disable? Is there anything that might prevent this modem/router from behaving like a modem for all intents and purposes so my Gentoo router can behave like a router connected to a modem? Some routers have a DMZ Port or DMZ Host option that will make the router automatically forward all ports to the machine configured on that port. If you like, you can even disable things like name serving and internal DHCP and let your Gentoo router handle those (if you followed the Home Router guide and used dnsmasq). If you have no Windows boxes on your network, you can safely disable WINS and/or NetBIOS name resolution. Are you sure I can disable internal DHCP? My Gentoo router needs to use DHCP to get an IP address from the Westell modem/router right? - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
Grant wrote: Sounds good to me. Could this be the same type of feature as the DMZ Port/Host: ### Static NAT Set Up an IP Address to be your Default NAT Destination. Static NAT Device or specify IP Address All unsolicited inbound traffic will be sent to the above device. Note: Static Nat and IP Passthrough are mutually exclusive features. ### - Grant Perfect. Just make sure your Gentoo router's external IP is static, not DHCP-assigned. Ryan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
If you don't have to use/setup PPPoE to use the dsl connection, then it's a router (just dhcp needed). If you don't know what PPPoE is, and you used your PC to the dsl modem fine before, and didn't install any software (on your PC), then it's a dsl/router combo. This is quite common for dsl providers because then you don't have to setup PPPoE at all (authentication). Since you have a dsl modem/router, it almost certainly uses NAT. Since it uses that, you have to forward port 22 to the IP of the Gentoo box. Check out the make/model and go to the manufacturer's website to find instructions on how to change the settings; however, most of the time you can type in your gateway IP in your web browser to get to the settings. Sometimes the page is passworded, sometimes it isn't. Judging from the IP you mentioned ( 192.168.1.47), it sounds like you have a Linksys dsl/router (although I'm not aware they made dsl/router combo boxes, only cable modem/router combo boxes). I've set up ssh port forwarding from my Westell modem/router to my Gentoo router via port 22 and TCP, but when I try to ssh in from my laptop using the modem's global IP address I get Connection refused. I've disabled the Westell's firewall. The Gentoo router's firewall was configured according to: http://www.gentoo.org/doc/en/home-router-howto.xml which includes: (Optional) Allow access to our ssh server from the WAN # iptables -A INPUT -p TCP --dport ssh -i ${WAN} -j ACCEPT What could be the problem? Also, this thing was supposed to be just a modem and I'd like it to behave that way as much as possible so my Gentoo router can handle as many of the router duties as possible. I've disabled the Westell's firewall. What other types of things should I look for in the Westell's configuration screen to disable? Is there anything that might prevent this modem/router from behaving like a modem for all intents and purposes so my Gentoo router can behave like a router connected to a modem? - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
Grant wrote: snip snip snip I'd like it to behave that way as much as possible so my Gentoo router can handle as many of the router duties as possible. I've disabled the Westell's firewall. What other types of things should I look for in the Westell's configuration screen to disable? Is there anything that might prevent this modem/router from behaving like a modem for all intents and purposes so my Gentoo router can behave like a router connected to a modem? Some routers have a DMZ Port or DMZ Host option that will make the router automatically forward all ports to the machine configured on that port. If you like, you can even disable things like name serving and internal DHCP and let your Gentoo router handle those (if you followed the Home Router guide and used dnsmasq). If you have no Windows boxes on your network, you can safely disable WINS and/or NetBIOS name resolution. Ryan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
On 5/12/06, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: On Friday 12 May 2006 08:03, Mark Shields [EMAIL PROTECTED] wroteabout 'Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)': On 5/12/06, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: On Thursday 11 May 2006 22:18, Grant [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)': Weird. Yeah, especially since the /same/ type of blackbox (no auth, just cable-ethernet translation) for cable service is called a cable modem, at least in my circles. *boggle*/snip DSL and cable modems are different.DSL uses PPPoE.A cable modem does not.I know, I've used both services.In his case he's got a black box that hejust plugs in to his DSL connection (no auth he has to set up) and plugs his ethernet into that black box.In my case I've got a black box that Ijust plug in to my cable connection (no auth I have to set up) and plug myethernet into that black box.My blackbox is called a modem.His blackbox is called a router.That is WEIRD.I have digital cable, so my box does not MOdulate/DEModulate asignal.His connection is analog (probably) so his box doesMOdulate/DEModulate a signal.My blackbox is called a modem.His blackbox is called a router.THAT. IS. FSCKING. *WEIRD*.I used to have a DSL modem (actually, it's probably still around,somewhere).It required me to run PPPoE software (to enterusername/password) on the computer hooked directly to it via ethernet. He's got a DSL router that does any PPPoE needed inside the router andjust provides an IP address (over ethernet of course) via DHCP.--If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightestclue what's best for them in terms of package stability.-- Gentoo Developer Ciaran McCreeshCalling a cable modem such is a misnomer, unless you're using a one-way cable modem, in which case there is modulation/demodulation going on (if the cable modem still connects to an analog line). The name cable modem stuck even when 2-way modems were created. He's got a DSL router My blackbox is called a modem. His blackbox is called a router. THAT. IS. FSCKING. *WEIRD*.Partially correct. He has a DSL modem/router combo box. It's not weird when you stop and thinking about it (and actually understand it). -- - Mark Shields
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
On Fri, 12 May 2006 09:03:19 -0400, Mark Shields wrote: DSL and cable modems are different. DSL uses PPPoE. A cable modem does not. Not necessarily. In the UK, ADSL uses PPPoA but all of the ethernet modems I've used, including plain modems with no routing capabilities, use plain old ethernet to talk to the computer. From my computer's point of view, connecting to my ADSL modem and cable modem are identical. -- Neil Bothwick Inland Revenue: We've got what it takes to take what you've got! signature.asc Description: PGP signature
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
On 5/12/06, Neil Bothwick [EMAIL PROTECTED] wrote: On Fri, 12 May 2006 09:03:19 -0400, Mark Shields wrote: DSL and cable modems are different.DSL uses PPPoE.A cable modem does not.Not necessarily. In the UK, ADSL uses PPPoA but all of the ethernet modems I've used, including plain modems with no routing capabilities,use plain old ethernet to talk to the computer.From my computer's point of view, connecting to my ADSL modem and cablemodem are identical. It was a general statement. As I stated, my experience with DSL is limited. My experience came from using a DSL modem in the U.S. From a quick google search, PPPoA (PPP over ATM) is generally for internal DSL modems; however, thank you for the correction. -- - Mark Shields
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
On Fri, 12 May 2006 10:51:50 -0400, Mark Shields wrote: My experience came from using a DSL modem in the U.S. From a quick google search, PPPoA (PPP over ATM) is generally for internal DSL modems; Not over here. The main UK DSL network uses ATM, irrespective of modem type. -- Neil Bothwick Open the disk drive door, Hal. signature.asc Description: PGP signature
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
On 5/12/06, Neil Bothwick [EMAIL PROTECTED] wrote: On Fri, 12 May 2006 10:51:50 -0400, Mark Shields wrote: My experience came from using a DSL modem in the U.S.From a quick google search, PPPoA (PPP over ATM) is generally for internal DSL modems; Not over here. The main UK DSL network uses ATM, irrespective of modemtype.I'm not saying your doesn't. I said From a quick google search, PPPoA (PPP over ATM) is generally for internal DSL modems;-- - Mark Shields
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
On Fri, 12 May 2006 11:31:59 -0400, Mark Shields wrote: Not over here. The main UK DSL network uses ATM, irrespective of modem type. I'm not saying your doesn't. I said From a quick google search, PPPoA (PPP over ATM) is generally for internal DSL modems; I don't want to get into an argument over this, but your information seems rather US-centric. I can assure you that in the UK, the use of PPPoA has absolutely nothing to do with the type of modem. However, I'm prepared to accept that our national telecom provider may be doing things differently from everyone else because they can :( -- Neil Bothwick Call out the vice squad! Someone's mounting a disk drive! signature.asc Description: PGP signature
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
Grant wrote: 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. 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. 3. (snip) Sorry I got no idea about this stuff.. Farhan Ahmed -- Place : Bangalore, Karnataka, India GPG Key : 8BE90E98 WengoPhone ID : farhanahmed IRC Nick: farhanahmed / farhanahmed06 (irc.freenode.net) Check Out : http://gentooisbest.blogspot.com pgpIU9n9QSajI.pgp Description: PGP signature
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
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
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
On Thursday 11 May 2006 16:46, Grant [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)': 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. If that's all you have to do, it's definitely a router. It's a rather trivial one, since it just translates packets from one side to the other and does some minor bookkeeping, but it's a router. A xDSL modem would require authentication to be set up. In your case, all you need to do is configure your Gentoo system for DHCP. You might want to use a longer timeout though. It can take a little while for the xDSL router to negotiate the connection. http://www.gentoo.org/doc/en/home-router-howto.xml This document is for setting up a Gentoo box to /be/ a router, IIRC. If that's the case, it's not something you need for now. -- If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability. -- Gentoo Developer Ciaran McCreesh pgpuRTmJRNycg.pgp Description: PGP signature
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
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. If that's all you have to do, it's definitely a router. It's a rather trivial one, since it just translates packets from one side to the other and does some minor bookkeeping, but it's a router. A xDSL modem would require authentication to be set up. Weird. In your case, all you need to do is configure your Gentoo system for DHCP. You might want to use a longer timeout though. It can take a little while for the xDSL router to negotiate the connection. Exactly right. I discovered that myself earlier today. http://www.gentoo.org/doc/en/home-router-howto.xml This document is for setting up a Gentoo box to /be/ a router, IIRC. If that's the case, it's not something you need for now. I do need it if I want to connect my laptop to the Internet wirelessly though. I also want to be able to ssh into my network via the Internet. Will this modem/router make that impossible? If so I think I'll call Verizon about their 30-day money back guarantee. - Grant -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Gentoo ADSL wireless router (3 questions)
On Thu, 11 May 2006 20:18:11 -0700 Grant wrote: I also want to be able to ssh into my network via the Internet. Will this modem/router make that impossible? If so I think I'll call Verizon about their 30-day money back guarantee. As you haven't told us what the make model of router/modem is, how the hell do you expect an answer? -- Nick Rout [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
[gentoo-user] Gentoo ADSL wireless router (3 questions)
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? 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? 3. I'm using iwconfig and WEP right now, but I'd really like to use WPA. I believe wpa_supplicant is the way to do that. I tried to set up wpa_supplicant in mode=1 on the router, but the ath0 interface times out when I try to start it. I took the config straight from wpa_supplicant.conf.example: network={ ssid=mynetwork mode=1 proto=WPA key_mgmt=WPA-NONE pairwise=NONE group=TKIP psk=mypassphrase } Can anyone help with any of this stuff? -- gentoo-user@gentoo.org mailing list