network configuration.

More
07 Oct 2021 12:26 #222450 by The Dave
Hey,
I'm new to LinuxCNC and need some help with network configuration.
I'm running the 2.8 version.
I cant find any commands that work for me to change an IP address.
When I try some commands i get RTNETLINK answers: Operation not permitted 
Edit connections in the nm-tray 0.4.2 does nothing when I click on it.

Any advice would be greatly appreciated.  Thanks 

Please Log in or Create an account to join the conversation.

More
07 Oct 2021 14:17 #222455 by tommylight
Replied by tommylight on topic network configuration.
You have to use "sudo" before any system command in Linux.
And you should really change the nickname, publicly displayed e-mails will end up in tears sooner or later, especially if using Windows as OS.

Please Log in or Create an account to join the conversation.

More
07 Oct 2021 14:28 #222459 by The Dave
Replied by The Dave on topic network configuration.
I'm using sudo and I finally got it to change shortly after my post but it won't stay and won't save either.
Thanks for the reply, and the suggestions.

I will keep banging the keyboard with my head I'm sure something will happen. Hahaha
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
07 Oct 2021 14:37 #222460 by tommylight
Replied by tommylight on topic network configuration.


I will keep banging the keyboard with my head I'm sure something will happen. Hahaha

I have embedded keyboard keys on my forehead from doing that, did not help ! :)
If you are using the older official LinuxCNC ISO, it came with WiCD network manager, it is pretty much useless, so change to network-manager or download the 2.8.2 version ISO, it should have it included although i did not test it.

Please Log in or Create an account to join the conversation.

More
07 Oct 2021 20:52 #222486 by andypugh
Replied by andypugh on topic network configuration.
Back to the beginning, why do you want to change an IP address?

Is this for networking, or to connect a Mesa card?

Please Log in or Create an account to join the conversation.

More
07 Oct 2021 21:47 #222496 by The Dave
Replied by The Dave on topic network configuration.
Yeah im trying to setup and configure a 7i95 board.
I have an automation pc using to run Linux cnc.
It has 2 nics. I can't set either one.

Please Log in or Create an account to join the conversation.

More
07 Oct 2021 23:23 - 07 Oct 2021 23:24 #222502 by andypugh
Replied by andypugh on topic network configuration.
In that case, I would suggest ignoring the GUI options and doing what the LinuxCNC docs suggest:

linuxcnc.org/docs/2.8/html/man/man9/hm2_...FACE%20CONFIGURATION

ie, edit the interfaces file to force what you want.

(but be sure that you use the correct name for the interface, the example uses "eth1" but yours might well be something else.

To find out open a terminal and issue the command "ip link"

In my case I get
andypugh@rm-one:~/infrastructure$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 7c:05:07:10:3a:44 brd ff:ff:ff:ff:ff:ff
3: wlx40a5ef05a291: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
link/ether 40:a5:ef:05:a2:91 brd ff:ff:ff:ff:ff:ff
And can guess that my hardwired ethernet is eno2 (because I know that wlx40a5ef05a291 is my USB wifi dongle)
Last edit: 07 Oct 2021 23:24 by andypugh.

Please Log in or Create an account to join the conversation.

More
08 Oct 2021 10:21 #222537 by rodw
Replied by rodw on topic network configuration.
I've been researching this today cos I don't seem to have a gui network tool on Debian Bullseye
Try this after you use Andy's trick to find the interface name
sudo nano /etc/network/interfaces
add this to the file
auto [your-ethernet-device-name]
iface [your-ethernet-device-name] inet static
address 10.10.10.1
netmask 255.255.255.0

Then restart the network
ifdown -a; ifup -a

Please Log in or Create an account to join the conversation.

More
24 Oct 2021 15:52 #224102 by Deese
Replied by Deese on topic network configuration.
I have a question, after I have edited my interfaces file is it normal for the eth adapter status to be down if there is no other device on the network? If I run ifup -a it gives message "file exists ifup failed to bring up enp0s25"  I have not bought the mesa card yet I am just preparing for it.

Please Log in or Create an account to join the conversation.

More
26 Oct 2021 09:07 #224358 by rodw
Replied by rodw on topic network configuration.
I think you would be able to ping it but because its not connected to anything it will show as down  (just my guess)

Please Log in or Create an account to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum