Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

overkill

Members
  • Posts

    132
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by overkill

  1. You're welcome. Glad to hear you got it sorted out. Basically what you are doing is creating a failover device. One interface goes down, the other kicks in. You may also want to check out shorewall. It's in portage. It's a set of simple config files to generate iptables firewall. It does have failover capabilities. Here's a section that might help - Multiple Internet Connections. Maybe it'll give you some good ideas.
  2. I don't see that you need both sets of rules on the gateway. If the secondary default route is via the laptop to your neighbor's wifi, can't you just do the nat'ing on the laptop? Then you could have your main gateway and it's nat'ing rules, then if it fails the secondary default route would kick in, and the laptop would do it's nat'ing. Or do I see the setup wrong?
  3. OK, figured it out. Just use the ip route syntax in quotes in the /etc/conf.d/netif.eth0. Something like this - adjust ip's and interface as they pertain to your setup. route="0.0.0.0/0 via 192.168.1.28 dev eth0 metric 10" Should do the trick
  4. You can/should control your routes by the metric. You can/should have your secondary default route added with a higher metric value than your default route. If the default route is inaccessible, it will use the next route for 0.0.0.0/0. When the gateway/cable modem becomes accessible once more, the default route is chosen since it's metric is lower. I'm sure that openrc can set this up when the network is brought up, I've just never looked for the way to do it. Now that I think about it, I know I read about this very topic in when I used Gentoo and it's version of openrc. Check the docs. EDIT: I just checked the wiki for any info on multiple routes. Says you can add them with "route" variable, but no examples or specifics. Should be doable.
  5. You're welcome. Glad you got it worked out.
  6. I could live without it, but if I don't have too... AWESOME! Thanks dantrell!
  7. I'll miss my transparent gnome-terminal shell windows :(
  8. It is becoming more common to experience some sort of conflict/block/unmet dependency. Gentoo and Funtoo are diverging. Funtoo needs it's own portage tree, or at least some sort of sanity checking before letting Gentoo ebuilds destroy clean funtoo merges. Just my 2 cents worth.
  9. I run a Wireless Internet Server Provider in rural Texas. Deal with wireless issues on a daily basis. Looks like interference or poor signal strength to me. Do you have neighbors close by?, running on the same or overlapping your channel?. I'd try switching channels and see if your packet loss improves. What your signal level and your noise level when you are experiencing packet loss? Are you far from your router? Try moving closer. Still have high latency/packet loss? When consumer grade wireless routers begin to die, they exhibit strange, inconsistent behavior. You could try a different router at least. Stay away from Netgear and Belkin. They are the shittiest routers on the market. If you want a good wireless router that runs linux, try a Mikrotik. www.routerboard.com and www.mikrotik.com A wired connection is ALWAYS better than wireless. Use wired when you can. In fact, try a cabled connection to your router. Still have high latency and packet loss? I highly doubt it has anything to do with software unless you are doing something unusual in make.conf. Are you an extreme ricer? ;) Forgot to mention, if your wireless connection is being maxed out by another device on your network, that can also cause high latency and packet loss. Are you running a torrent on another wireless device?
×
×
  • Create New...