Changing linux network settings

NikPreviousAcct

No Lifer
Aug 15, 2000
52,763
1
0
Uh... anybody got any idea about how to set the computer name, release/renew the IP, and set the workgroup name in linux, via commandline?
 

NikPreviousAcct

No Lifer
Aug 15, 2000
52,763
1
0
My router says that it sees the PC connected, but Linux doesn't get an IP. The /etc/sysconfig/network/ifcfg-(MAC address) file is set up for DHCP, too. :confused:
 

NikPreviousAcct

No Lifer
Aug 15, 2000
52,763
1
0
Hell I don't even need command line, necessarily. I just can't get this damn thing online! Anyone got ANY pointers? At all??
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Which distro?

I believe the command to use dhcp (won't work over reboots) is something along the lines of: dhcpcd eth0