Difference between revisions of "Talk:Network configuration"

From ArchWiki
Jump to: navigation, search
(In: Manual connection at boot using systemd: re)
(34 intermediate revisions by 13 users not shown)
Line 1: Line 1:
==Set host name/IP==
+
== Need to replace this part about IP address aliasing with netctl ==
Shouldn't the hosts file include the local static IP address and computer name along with the loopback version?
+
- [[User:KitchM|KitchM]] 02:54, 1 June 2009 (EDT)
+
:Does anybody have more info on this? - [[User:Aaahaaap|Aaahaaap]] 11:22, 2 November 2009 (EST)
+
::I sure wish someone did. - [[User:KitchM|KitchM]] 18:43, 2 November 2009 (EST)
+
  
==dhcpdc==
+
Configuration presented here isn't working.
The following section and statement are unclear:
+
  
"Other option
 
  
If for some reason dhcpcd eth0 fails, install dhclient (pacman -Sy dhclient) and use 'dhclient eth0' instead. "
+
== In: Manual connection at boot using systemd ==
  
Exactly how would one know that "dhcpcd eth0" failed?
+
the variable ${gateway} no work, maybe this not is read from /etc/conf.d/network@eth0 file
- [[User:KitchM|KitchM]] 02:29, 1 June 2009 (EDT)
+
  
==Troubleshooting Ping==
+
:Please be more specific if you have a problem. Even better, use [https://bbs.archlinux.org/ the forums] to ask for help, ArchWiki is not a support centre. -- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 16:45, 11 October 2013 (UTC)
The section entitled Troubleshooting should probably include a section to address the problem of ping not working correctly.
+
- [[User:KitchM|KitchM]] 02:36, 1 June 2009 (EDT)
+
 
+
== Needs cleanup ==
+
 
+
The hostname portion fails to explain whether or not the quotation marks around the name is required. The next example does not have them. Either way, it must be explained.
+
 
+
We are left with another question; is it listed in hosts under the loopback address only, or also included in the standard IP address?
+
 
+
Under IP Aliasing we are missing the explanation of what it is and why one would use it.
+
 
+
Regarding the TCP window scaling, what does the following phrase mean:
+
"Or you can try to remove one of your RAM sticks (yes, sir)."
+
 
+
Let's clean this up, everyone.
+
 
+
Thanks. - [[User:KitchM|KitchM]] 22:38, 27 November 2009 (EST)
+
 
+
== Title ==
+
 
+
Shouldn't that be Configuring The Network, or Network Configuration? - [[User:KitchM|KitchM]] 00:50, 25 December 2009 (EST)
+
 
+
In fact, wouldn't "Network Configuration" be better because Network would be the first and most common sense search item? _ [[User:KitchM|KitchM]] 12:36, 8 February 2010 (EST)
+
 
+
:Perhaps "Network" would be the best title, then, since this article deals primarily with using the "network" daemon. -- [[User:Pointone|pointone]] 11:37, 26 February 2010 (EST)
+
 
+
::You think so?  I don't know.  Doesn't it have more to do with network setup in general?  - [[User:KitchM|KitchM]] 00:14, 5 March 2010 (EST)
+
 
+
== hwdetect not installed by default ==
+
 
+
In the section '''Load the device module''' it's said that one should use ''hwdetect'' which is not installed by default in Arch system. How then it can be installed without network? (= I think that should be mentioned. --[[User:Sindikat|Sindikat]] 09:05, 8 February 2010 (EST)
+
 
+
== Detect Carrier ==
+
This code can be used in /etc/rc.d/network to skip interfaces without carriers:
+
 
+
if [ "$ifcfg" = "dhcp" ]; then
+
carrier=`cat /sys/class/net/$ifname/carrier`
+
if [[ $carrier -eq "1" ]]; then
+
# remove the .pid file if it exists
+
/bin/rm -f /var/run/dhcpcd-${1}.pid >/dev/null 2>&1
+
/bin/rm -f /var/run/dhcpcd-${1}.cache >/dev/null 2>&1
+
/sbin/dhcpcd $DHCPCD_ARGS ${1}
+
else
+
echo "No carrier on $ifname"
+
fi
+
else
+
/sbin/ifconfig $ifcfg
+
fi
+

Revision as of 16:45, 11 October 2013

Need to replace this part about IP address aliasing with netctl

Configuration presented here isn't working.


In: Manual connection at boot using systemd

the variable ${gateway} no work, maybe this not is read from /etc/conf.d/network@eth0 file

Please be more specific if you have a problem. Even better, use the forums to ask for help, ArchWiki is not a support centre. -- Lahwaacz (talk) 16:45, 11 October 2013 (UTC)