4MLinuxThis forum is for the discussion of 4MLinux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm not familiar with this distro, but in general terms the exact method depends on the network management tool your distro uses. Anyway, a quick search turned up this post.
Quoted post...
Quote:
Open the dhcpcd-gui script. You can do this in your terminal:
Code:
mcedit /usr/bin/dhcpcd-gui
Replace "nameserver 8.8.8.8" with whatever you wish to use, save changes, restart X.
Indeed I have previously read the "post" you mention, but I do not understand "Replace" nameserver 8.8.8.8 with whatever you wish to use ... ".
If I comment the line the OS does not configure the DNS from the DHCP server.
So, I don't know what to put in the "NAMESERVER" variable or if additional configuration is needed in the DHCPCD daemon.
Indeed I have previously read the "post" you mention, but I do not understand "Replace" nameserver 8.8.8.8 with whatever you wish to use ... ".
If I comment the line the OS does not configure the DNS from the DHCP server.
So, I don't know what to put in the "NAMESERVER" variable or if additional configuration is needed in the DHCPCD daemon.
Regards,
Is the DHCP server also your gateway router? Does it provide DNS as well? If so, replace it with the IP address of the gateway.
Yes, it is clear. I understand you perfectly. In fact the laptop is browsing and downloading from the internet, but with the configuration fixed to the 8.8.8.8 DNS server as it remains after installing 4MLinux.
1. Configure your network: Menu > Settings > Networking > NetConfig
2. Execute the "connect" command in your terminal. The output on my PC is as follows:
Code:
oot@4MLinux:~$ connect
Connecting via the eth0 interface:
udhcpc: started, v1.31.1
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending select for 192.168.1.26
udhcpc: lease of 192.168.1.26 obtained, lease time 86400
deleting routers
route: SIOCDELRT: No such process
adding dns 192.168.1.1
so my DNS nameserver is 192.168.1.1
3. Now you can open Menu > Settings > Networking > dhcpcd
Code:
# Enable dhcpcd daemon?
DAEMON=yes
# Nameserver to use?
NAMESERVER=8.8.8.8
# Interface to use (*)?
IFACE=any
# Enable dhcpcd GUI?
GUI=yes
# Enable notifications?
NOTIFICATIONS=no
# (*) Note:
# You can replace "any" with eth0, wlan0 and so on.
You can either disable dhcpcd daemon completely (DAEMON=no) or replace 8.8.8.8 with your DNS nameserver.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.