Türkiye
Az konuş, çok çalış..

Forum

Bildirimler
Tümünü temizle

Terminalde manuel ip ayarlama? Bağdaştırıcı isimlerinde sıkıntı...

3 Yazılar
2 Üyeler
0 Likes
1,272 Görüntüleme
(@gurko)
Gönderiler: 6
Active Member
Konu başlatıcı
 

Merhaba arkadaşlar, zaten hızlı açılması yetmiyor, açılışta otomatik 3 saniye ip atamayı beklemek batmaya başladı. Bende manuel ip girip direk geçmesini umuyordum.

https://www.ostechnix.com/configure-static-dynamic-ip-address-arch-linux/

Yukardaki adresteki adımları yarım yamalak ingilizcemle uyguladım..

Şu kodu girince uzun süre bekledi ve

$ sudo netctl start enp3s0

bu hatayı verdi;

A dependency job for [email protected] failed. See 'journalctl -xe' for details.

Yönlendirmeyi yaptığımda çıkan dökümde bu;

$ sudo netctl start enp3s0 
[sudo] password for master:
A dependency job for [email protected] failed. See 'journalctl -xe' for details.
[master@guros ~]$ journalctl -xe
Haz 26 06:02:08 guros sudo[3607]: pam_unix(sudo:session): session closed for use>
Haz 26 06:02:12 guros sudo[3615]:  master : TTY=pts/1 ; PWD=/home/master ; USER>
Haz 26 06:02:12 guros sudo[3615]: pam_unix(sudo:session): session opened for use>
Haz 26 06:02:12 guros sudo[3615]: pam_unix(sudo:session): session closed for use>
Haz 26 06:02:21 guros sudo[3627]:  master : TTY=pts/1 ; PWD=/home/master ; USER>
Haz 26 06:02:21 guros sudo[3627]: pam_unix(sudo:session): session opened for use>
Haz 26 06:02:38 guros sudo[3627]: pam_unix(sudo:session): session closed for use>
Haz 26 06:04:25 guros dbus-daemon[409]: [system] Activating via systemd: service>
Haz 26 06:04:25 guros dbus-daemon[409]: [system] Activation via systemd failed f>
Haz 26 06:09:12 guros sudo[4029]:  master : TTY=pts/1 ; PWD=/home/master ; USER>
Haz 26 06:09:12 guros sudo[4029]: pam_unix(sudo:session): session opened for use>
Haz 26 06:10:42 guros systemd[1]: sys-subsystem-net-devices-eth0.device: Job sys>
Haz 26 06:10:42 guros systemd[1]: Timed out waiting for device /sys/subsystem/ne>
-- Subject: A start job for unit sys-subsystem-net-devices-eth0.device has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit sys-subsystem-net-devices-eth0.device has finished with >
--
-- The job identifier is 1208 and the job result is timeout.
Haz 26 06:10:42 guros systemd[1]: Dependency failed for A basic static ethernet >
-- Subject: A start job for unit [email protected] has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit [email protected] has finished with a failure.
--
-- The job identifier is 1139 and the job result is dependency.
Haz 26 06:10:42 guros systemd[1]: [email protected]: Job [email protected]>
Haz 26 06:10:42 guros systemd[1]: sys-subsystem-net-devices-eth0.device: Job sys>
Haz 26 06:10:42 guros sudo[4029]: pam_unix(sudo:session): session closed for use>
lines 2532-2562/2562 (END)
Haz 26 06:02:08 guros sudo[3607]: pam_unix(sudo:session): session closed for user root
Haz 26 06:02:12 guros sudo[3615]:  master : TTY=pts/1 ; PWD=/home/master ; USER=root ; COMMAND=/usr/bin/netctl list
Haz 26 06:02:12 guros sudo[3615]: pam_unix(sudo:session): session opened for user root by master(uid=0)
Haz 26 06:02:12 guros sudo[3615]: pam_unix(sudo:session): session closed for user root
Haz 26 06:02:21 guros sudo[3627]:  master : TTY=pts/1 ; PWD=/home/master ; USER=root ; COMMAND=/usr/bin/netctl edit enp3s0
Haz 26 06:02:21 guros sudo[3627]: pam_unix(sudo:session): session opened for user root by master(uid=0)
Haz 26 06:02:38 guros sudo[3627]: pam_unix(sudo:session): session closed for user root
Haz 26 06:04:25 guros dbus-daemon[409]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.611' (uid=1000 pid=3719 comm="/usr/lib/chromium/chromium ")
Haz 26 06:04:25 guros dbus-daemon[409]: [system] Activation via systemd failed for unit 'dbus-org.bluez.service': Unit dbus-org.bluez.service not found.
Haz 26 06:09:12 guros sudo[4029]:  master : TTY=pts/1 ; PWD=/home/master ; USER=root ; COMMAND=/usr/bin/netctl start enp3s0
Haz 26 06:09:12 guros sudo[4029]: pam_unix(sudo:session): session opened for user root by master(uid=0)
Haz 26 06:10:42 guros systemd[1]: sys-subsystem-net-devices-eth0.device: Job sys-subsystem-net-devices-eth0.device/start timed out.
Haz 26 06:10:42 guros systemd[1]: Timed out waiting for device /sys/subsystem/net/devices/eth0.
-- Subject: A start job for unit sys-subsystem-net-devices-eth0.device has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit sys-subsystem-net-devices-eth0.device has finished with a failure.
--
-- The job identifier is 1208 and the job result is timeout.
Haz 26 06:10:42 guros systemd[1]: Dependency failed for A basic static ethernet connection.
-- Subject: A start job for unit [email protected] has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A start job for unit [email protected] has finished with a failure.
--
-- The job identifier is 1139 and the job result is dependency.
Haz 26 06:10:42 guros systemd[1]: [email protected]: Job [email protected]/start failed with result 'dependency'.
Haz 26 06:10:42 guros systemd[1]: sys-subsystem-net-devices-eth0.device: Job sys-subsystem-net-devices-eth0.device/start failed with result 'timeout'.
Haz 26 06:10:42 guros sudo[4029]: pam_unix(sudo:session): session closed for user root

Nedense adım adım arch linuxu ilk kurulum yaptığım sırada eth0 ismini bulamamakla sıkıntı yaşamıştım, şimdi sistem bu isimde arıyor bağdaştırıcıyı...
Bu da o sitede düzenlediğim dosya;

Description='A basic static ethernet connection'
Interface=enp3s0
Connection=ethernet
IP=static
Address=('192.168.1.37' '192.168.1.38')
#Routes=('192.168.0.0/24 via 192.168.1.2')
Gateway='192.168.1.1'
DNS=('192.168.1.1')

## For IPv6 autoconfiguration
#IP6=stateless

## For IPv6 static address configuration
#IP6=static
#Address6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
#Routes6=('abcd::1234')
#Gateway6='1234:0:123::abcd'

Yardımlarınız için çok teşekkür ediyorum.. Nolur şuna da bir el atıverin Allah rızası için  :-[

 
Gönderildi : 26/06/2019 2:16 am
(@pwn0graphy)
Gönderiler: 14
Active Member
 

ip link komutunun sizde enp3s0 çıktısı verdiğinden emin misiniz? Kendi ağ kartınızın ismini bulmak için

$ ip link

komutunu verip kendi ağ kartı isminizi bulun ve

$ sudo netctl start enp3s0

komutundaki enp3s0'ı kendi ağ kartı isminiz ile değiştirin, muhtemelen sorun çözülecektir.

Arch Linux deviantART Group :
ArchLinux@deviantART ~

 
Gönderildi : 26/06/2019 8:18 am
(@gurko)
Gönderiler: 6
Active Member
Konu başlatıcı
 

ip link komutunun sizde enp3s0 çıktısı verdiğinden emin misiniz? Kendi ağ kartınızın ismini bulmak için

$ ip link

komutunu verip kendi ağ kartı isminizi bulun ve

$ sudo netctl start enp3s0

komutundaki enp3s0'ı kendi ağ kartı isminiz ile değiştirin, muhtemelen sorun çözülecektir.

Ağ bağdaştırıcımın adından kesinlikle eminim, ilk kurulum yaptığım sırada internet sorunu yüzünden hafızama mıh gibi kazınmıştı..  :-

$ 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: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 6c:f0:49:e3:1a:17 brd ff:ff:ff:ff:ff:ff

Acaba "netctl" komutunun varsayılan ayarları filan var mı? Arayacağı bağdaştırıcı ismini filan değiştirecek bir dosya?

 
Gönderildi : 30/06/2019 10:42 pm
Paylaş:
Translate »