I would like to learn to set up my SSID and Username and other network settings manually by the CLI.
Does anyone have this experience. Changing your networks settings by the Terminal by using shell script ?
From what you say it appears your PC has connection to the router.
Most modern routers have a web page management that can be accessed from the lan. Have you tried opening the browser and going to http://192.168.1.1 and see if a page opens up to manage it? Usually the ISP tool is for windows use only and does not use the command line but actually is a substitute for browser access to the web interface.
192.168.1.1 is the common default IP for most routers but may not be correct for yours. Usually the router user manual gives the default IP address for the lan side as well as the default user name and password to log in for administrator access.
Check the backside of your router, there is a sticker with more info’s. If you don’t find the info needed use the model nr. to search in internet about “Default login Router (model-nr)” or similar.
Yes I first tried Hardreset of router out and even wrote the vendors customsupport. But as it is Sunday ( In my country a day companies emploies are off work) and I’m unpatienced. I try to fix this the Linux way but maybe it is a browserissue when I type in the IP address http://192.168.1.1 and receive a time out because no responding.
I also tried to do the log in on the web page management and used the accountinformations I received from the vendor by mail to change the default settings.
Could the problem be entering the Set up Router wizard by a Fedora Linux OS and not by Windows or Macintosch OS ?
I know but I can not get acces to the routers set up wizard where I can use that data to change it. So I thougt the provider limit it by a one time username and password they send me the first time. there is a problem entering the routers configuration software. But it seems that it is not something I can fix through the Terminal with Shellscript commands.
Could the problem be entering the Set up Router wizard by a Fedora Linux OS and not by Windows or Macintosch OS ?
It is critical when first doing the setup on a wifi router that your initial connection be via ethernet (on the LAN side). The wifi will not yet be configured so cannot be used for the first connection.
I believe Dlink uses192.168.0.1. As mentioned elsewhere, a direct ethernet connection is probably the easiest choice when starting from a hard reset. From there, you should be able to log in to the admin web using the instructions from the vendor and any browser – there is no dependency on Mac or Windows.
ip addr show will give you the IP address of your Fedora computer, but you want to connect to the router, right? For the DLINK router, browse to http://192.168.0.1. You should get prompted for the administration userid (admin) and password (blank), then get to a configuration page. If I recall correctly, there’s a “wizard” option that guides you through setup, or you can do it manually. Oh, here’s a link:
[Step 1: Open your web browser and enter http://dlinkrouter or http://dlinkrouter.local or http://192.168.0.1 into the address bar. The default username is Admin and the password is blank (nothing) .
[
How do I change the Wi-Fi password on my router? | D-Link UK
Hey Dave! Thank you for your for taking your time and answere.
The shell is a command-line interface to the Unix operating system. It’s similar to the DOS prompt in a Microsoft Windows environment, albeit much more powerful.Linux Network Administrators Guide
I do understand that I can manage it through the GUI example your describe. The subject of this matter is to go more deep behind and manage my router settings throug CLI by the Terminal Networking Interfaces. I read IP Accounting that the Linux Kernel is kind of firewire which can be configurated manually Setting Up Linux for Firewalling by the Linux administration guide Linux Network Administrators Guide.
As the screenshot shows a Windows Network is running with out it’s existence. I had somebody very skilled to set it up for me. Who can write programs in Fedora Linux. I can’t remember what was done and how to change it. I wish to learn and understand it by shell scripting. I need to have an overview as I running on different devices at different OS. But need to set it up at the Fedora Os device.
I checkt on the d-link emulator, and could not see any infos about ssh. Normally when you want access via terminal you need acces over ssh. If A router has it, it normally shows up in the settings to activate or deactivate. Because of security issues.
Just a guess before going to bed. I havent done my homework by reading all. But a superficial guess to go and have a sneak peak.
The SSH protocol has the ability to securely forward X Window System graphical applications over your encrypted SSH connection, so that you can run an application on the SSH server machine and have it put its windows up on your local machine without sending any X network traffic in the clear.
Excuse me if I am completely misunderstanding you or your experience level … no intent to criticize here.
The GUI for your router configuration is an application running on your router, and completely independent from your Linux computer. Your Linux computer’s firewall is an application running on your Linux computer. You can manage your local firewall on your local computer with either the Linux GUI for the firewall or with the Linux CLI. The completely separate router, though, could possibly have a CLI in addition to the GUI, or could have a programmable API; I’m only aware of its GUI.
I think what you’re seeking is a way to configure the DLINK router not through its GUI, but through a command line interface. If the router provided a CLI, you’d likely be able to reach it through an ssh session from your Linux computer’s command shell or an xterm command. I did a quick search for “dlink admin cli” and found they do have CLI capabilities on some of their routers; these are intended for connection a serial communications cable and using a terminal emulator. Not likely what you are seeking.
But, bottom line, I am not aware of any utilities that will run from the command line on your Fedora system and configure your DLINK router.
Hey Cat. I do bridgeing. Wired Modem to Router. Want to make a forwarded DNS. I have the DHCP and the modems SSH is in check. Everything is connecting to the internet. Just wouldn’t make me type in 192.168.1.1 in the Firefox browser. I did try the routers software but wont be let in by default username and PW. Thats why I want to know whats happening behind all this GUI’s
A router for home use will virtually always have DHCP enabled by default, so that your network devices connect to its network and can get assigned IP addresses. Your network devices will similarly be configured by default to get their IP address and other parameters such as DNS server via DHCP, thus provided by the router. You can override this for a particular network device by manually assigning an IP address in the router’s subnet, or setting DNS servers, etc., if the needs of that device are different than the router provides, or most likely you’ll configure the router what to tell the network devices to use for IP addresses, DNS, and so on.
If you attach a network device and it doesn’t get an IP address assigned automatically (“ip addr show” on your Fedora system, for example), then your router may have its role as DHCP server disabled.
Hey Dave. Sorry for misleading you. I’m not skilled at all and are more guessing by reading from a lot of different places and making conclusions. I really want to learn all this and I know it takes years. So thank you very much for making it much more clear.
I have a Asus router. But I just showed the D-link as an example because I didn’t know if it was a good idea to flash you security on an open forum. But even that there always is a risk of being to onest. There is allways the reward of an onest answere.
I can access the internet but do think the problem by configuring the router I do bridgeing through is making it difficult as the ethernet just pass through. I thought by reseting first modem and then router that it could be on done.