Command-line for giving default gateway and dns.
This is a discussion about Command-line for giving default gateway and dns. in the Linux Networking category; Now my Wifi networks works (almost) fine. Unfortunately I have no gateway and no DNS configured. You know why ? Because my device is configured with command line syntax (like ifconfig wlan0 your_ipaddr).
Now my Wifi networks works (almost) fine. Unfortunately I have no gateway and no DNS configured.
You know why ? Because my device is configured with command line syntax (like "ifconfig wlan0 your_ipaddr").
OK, now I know how to configure your_ipaddr, I know how to ping, to telnet to known address.
But how is the syntax for configuring DNS ?
And what about default gateway ? Is it "route add default 192.xx..yy" ?
Any help would be accepted.
Regards
Yordan
You know why ? Because my device is configured with command line syntax (like "ifconfig wlan0 your_ipaddr").
OK, now I know how to configure your_ipaddr, I know how to ping, to telnet to known address.
But how is the syntax for configuring DNS ?
And what about default gateway ? Is it "route add default 192.xx..yy" ?
Any help would be accepted.
Regards
Yordan
Participate in our website and join the conversation
This subject has been archived. New comments and votes cannot be submitted.
Feb 3
Feb 26
0
1 minute
Responses to this topic
OP
I found how to do it. I used drakconf in order to configure another board, and the provided DNS and gateway are also valid for the Wifi adapter!