LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-18-2018, 01:16 AM   #1
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Rep: Reputation: 35
Wired connection to DD-WRT router using linux


I have a Linksys WRT1200ac router that I have flashed Dec 29 2017 DD-WRT firmware on.

I believe you can connect via ethernet to it and configure it using Windows. At the moment I don't have a Windows machine or legal software.

I would like to be able to have a totally wired network with VPN. I got the VPN working ok, but if I disable wireless on the router I can't connect to it at all. At the moment I can connect via a Android Samsung Tab A and configure it that way wirelessly.

I'd like to be able to access my ISP's modem and my router via ethernet and only have ethernet enabled on them.

How can this be done in linux?
 
Old 01-18-2018, 09:58 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
DD-WRT uses a web server for its setup configuration as well as running a ssh server so it should be accessible via a wired connection regardless of operating system. Depends on DD-WRT version and capability of your router but you might of configured a wired port as a separate network. The default IP/network is usually 192.168.1.1/24.
 
Old 01-18-2018, 10:40 AM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
A usb to ethernet dongle does wonders. I setup my dd-wrt asus rt-n12 with a pocketchip with an ethernet dongle.

$ firefox http://192.168.1.1

Plus the usual dhcp stuff for the ethernet.

# dhclient -4 -v eth0
 
Old 01-18-2018, 03:16 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
DD-WRT can act be set in a few modes. As above you use a browser. Maybe new default IP.

One mode will be common soho router. If on different subnet then you can easily access wan modem. Example. Lan subnet 192.168.0.1/24 and modem 192.168.1.1/24 will easily connect though to modem. I'd think this is a common way to run dd-wrt. There are other modes that will work also.

DD-WRT is very useful if you take the time to learn how it can be used over the stock firmware. Otherwise you have made no improvement. I'd see about FWbuilder to make a good firewall in the router.

Last edited by jefro; 01-18-2018 at 08:39 PM.
 
Old 01-18-2018, 04:55 PM   #5
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Original Poster
Rep: Reputation: 35
Thumbs up Wired connection to DD-WRT router using linux

Thank you everyone for your quick replies.

As this was my first attempt done using Linksys program on Android Samsung tablet it most likely does have errors in configuration. How-to's show Windows only. Chrome doesn't work when used as an ethernet connection. The quick setup guide uses a wireless connection, with a not easily guessable password.

It was hacked I suspect using wireless network, though I thought I had disabled wireless after setup. The ISP modem does not appear to have been hacked. Hence I suspect it was hacked wirelessly.

I will try out some of the things suggested which may take me a while, reconfigure / find backup for router and get back if I still have issues.

So once again thank you all for your help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nmap scan on my linux dd wrt router finds a 512bit ssl key that is already public record. akiras rain Linux - Security 3 12-30-2015 11:22 AM
[SOLVED] Ubuntu wired router connection johnarky Linux - Networking 5 04-04-2012 12:31 PM
Wireless and wired connection to same router, wireless not working GeoNeil Linux - Wireless Networking 1 03-30-2011 04:45 AM
[SOLVED] DSL connection slow on Linux wired connection but fast on Windows wireless Pandarsson Linux - Wireless Networking 9 12-17-2010 05:55 PM
Can't ping router, wrt54gl (wired connection) djeikyb Linux - Networking 3 02-23-2008 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration