Starting network fail
SIOCADDRT: No such process
v bugoch som nasiel toto
po zadani
"$(/sbin/ifconfig ${1} 2>/dev/null |\
/bin/grep -v 'inet6 addr: fe80:' |\
/bin/grep -e 'inet addr:' -e 'inet6 addr:')" ] && return 0
vypise
command not found
takze otazka znie: aky prikaz nemoze najst?
A co sa tyka toho problemu ... pozri si toto forum , obe vedu k riadku ROUTES=(gateway) v configu...
link1
&
link2
Ak by stale bol problem tak daj vediet
lo="lo 127.0.0.1"
eth0="eth0 192.168.30.22 netmask 255.255.255.0 broadcast 192.168.30.255"
INTERFACES=(lo eth0)
gateway="default gw 192.168.30.1"
ROUTES=(gateway)
Skusal si zmenit ten rc.conf na ROUTES=(!gateway)
Po pripade
g0="192.168.30.1 eth0"
gateway="default gw 192.168.30.1"
ROUTES=(g0 gateway)
???
tu je cele ifup()
ifup()
{
if [ "$1" = "" ]; then
echo "usage: $0 ifup <interface_name>"
return 1
fi
# don't bring up an interface that's already up
#"$(/sbin/ifconfig ${1} 2>/dev/null |\
#/bin/grep -v 'inet6 addr: fe80:' |\
#/bin/grep -e 'inet addr:' -e 'inet6 addr:')" ] && return 0
eval iwcfg="\$wlan_${1}"
if [ "$iwcfg" != "" ]; then
/usr/sbin/iwconfig $iwcfg
/bin/sleep 2
fi
eval ifcfg="\$${1}"
if [ "$ifcfg" = "dhcp" ]; 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
/sbin/ifconfig $ifcfg
fi
return $?
}
a nabuduce si asi precitam co pisem :-))
davam si na book archa a, podobny problem,,po installacii , som nakofiguroval ip,dns,gw atd, locale, potom , pacman -Syu , asi 200MB update , internet ide ,,dam reboot , net uz nejde ,
ifconfig
zobrazuje uz ibalo
,eth0
tam vobec nieje ,,nechapem .... pozeral som na subor /etc/rc.d/network a vyzera takto :ifup()
{
if [ "$1" = "" ]; then
echo "usage: $0 ifup <interface_name>"
return 1
fi
eval iwcfg="\$wlan_${1}"
if [ "$iwcfg" != "" ]; then
/usr/sbin/iwconfig $iwcfg
/bin/sleep 2
fi
eval ifcfg="\$${1}"
if [ "$ifcfg" = "dhcp" ]; 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
/sbin/ifconfig $ifcfg
fi
return $?
}
cize vobec tam niesu tieto
# don't bring up an interface that's already up
riadky ako pisekanon#"$(/sbin/ifconfig ${1} 2>/dev/null |\
#/bin/grep -v 'inet6 addr: fe80:' |\
#/bin/grep -e 'inet addr:' -e 'inet6 addr:')" ] && return 0
-po zadani pacman -Syu , vypise vsetky serveri s errorom : transient resolver failure ,,
-
route
vypisujeKernel IP rounting Table
destination Gateway genmask Flags Metric Ref Use Iface
-predtym ako som updateol system tak tam normalne vypisovalo konretne udaje,,ale po rebootte ako som pisal na zaciatku nefiguruje eth0 ,, nechapacka,,
-ROUTES=(gateway) , s dhcp som nic nerobil ...
-tail /var/log/errors.log vypisuje
PCI: Failed to allocate mem resource #6:2.................................
intel_rng: FWH not detected
bcm43xx : Error Mircocode "bcm43xx_microcode5.fw" not available or load failed
a teraz niieco asi podstane
dhcpd[3528]: no interface specified
ak pomozete budem rad, sranda je ze iba prehadzujem kabel s routeru co je zapichnuty v desktope do booku a spat jak trol , rozbehat wifi bude este asi vacsia sranda :) . druhy den sa s tym hram ale ziaden vysledok az na ten update co nasledne mi znefukcni net ,..