مشكلة النت

makinzy's picture
Submitted by makinzy on Sat, 13/12/2008 - 12:42.

السلام عليكم أرجوا إفادتى فى كيفية توصيف النت على لينكس عموما ً لأنى نزلت أكثر من نسخة (فيدورا، ريدهات ،ابونتو ) والنت مش شغال على أى نسخة فيهم ووصلة النت بتعتى dsl

انا عملت بحث على النت وعرفت ان التوصيف بيكون عن طريق حاجة أسمها إيثرنت ولازم تكون عارف نوع كارت الشبكة

لكن مفيش حد عنده الخطوات كاملة

ياريت لو حد عارف يقولى حل المشكلة دى إيه ..... جزاكم الله

المفروض ما تحتاجش تعريف

لكن الأول خلينى أتأكد منك.. الانترنت اللى واصللك عن طريق كابل network؟ وبتحتاج تكتب الIP ولا اوتوماتيك (dhcp)?


Ahmed D. El-Mekkawy

My blog

linuxawy's picture

الوصلة dsl من

الوصلة dsl من شركة tedata وانا عندى الروتر وعاملة شبكة داخلية مع اتنين تانى من جيرانى ونوع الروتر tp-link بس انا مش عارفة نوع كارت الشبكة بتاعى

makinzy's picture

المفروض كده يكون بيشتغل

المفروض كده يكون بيشتغل على طول..

طب ممكن تجربى حاجة.. افتحى teminal واعملى sudo bash

وبعدين شيلى الكابل واصبرى نص دقيقة ووصليه تانى واصبرى دقيقة تقريبا وبعدين اكتبى

tail -20 /var/log/syslog
وجربى برضه
ifconfing
وابعتيلى هنا اللى يطلعلك من الامرين دول...


Ahmed D. El-Mekkawy

My blog

linuxawy's picture

انا خدت screen shots

انا خدت screen shots من الناتج بس مش عارفة أبعته إزاى هنا على الموقع ...تقريبا مفيش upload لان لما خدتهم copy & past على الأوبن أوفيس طبعا ما فتحش على الويندوز وما بعرفش أعمل mount لان أغلب البارتشنز عندى NTFS مفيش غير بارتشن واحد هو اللى ممكن اعمله MOUNT وده أمر المونت mount -t vfat /dev/sda6 Desktop/folder name بس المونت ما بيطلعش فى الفولدر اللى انا مكريتاه على الديسك توب لكن بيطلع على الديسك توب direct مش عارفة المشكلة فين ؟؟؟؟ عموما لو في هنا مرفقات قولى عشان ابعتلك الناتج معلش طولت عليكم وتعبتكم معايا

makinzy's picture

انا شفت

انا شفت الصورة... الغريب ان ما عندكيش network interface متعرف وعندك xen bridge.. الجهاز ده معمولله virtualization ولا ايه؟

معلش ابعتيلى اللى حيطلعلك لما تكتبى

ifconfig -a

على فكرة انتى عندك توزيعة ايه؟


Ahmed D. El-Mekkawy

My blog

linuxawy's picture

انا نفذت الأمر

انا نفذت الأمر اللى قلت عليه بس طلع output كتير ماكنش هاينفع أكتبه انا رفعته على صورتين باسم ifconfig -a1 ،ifconfig -a2 هى المشكلة دى حاجة hardware ولا software??

التوزيعة اللى باشتغل عليها دلوقت فيدورا

بس انا أظن إن المشكلة مالهاش علاقة بالتوزيع لأنى جربت ريدهات وأبنتو وبرضة مش داخل نت خالص مفيش طريقة أقدر اتحرك بيها بين الويندوز واللينكس بسهولة ؟يعنى لو كتبت حاجة على openoffice فى اللينكس اقدر استخدمها فى الويندوز

معلش انا كترت عليكم فى الأسئلة أوى بس والله أنا مفيش حد أعرفه عنده فكرة عن الحجات دى عشان أسئله ومفيش كورسات لينكس هنا خالص جزاكم الله كل خير

makinzy's picture

بلاش موضوع الصور ده

معلش بلاش موضوع الصور ده.. حاولى تاخديه copy-paste هنا


Ahmed D. El-Mekkawy

My blog

linuxawy's picture

إزاى أخده copy

إزاى أخده copy &past من على لينكس وأفتحه على الويندوز open office مش شغال على الويندوز فى طريقة تانى؟؟؟؟؟؟؟

makinzy's picture

lo Link encap:Local


root@localhost ~]# ifconfig -a
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1709 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1709 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:6596576 (6.2 MiB)  TX bytes:6596576 (6.2 MiB)

sit0      Link encap:IPv6-in-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

veth0     Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

veth1     Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

veth2     Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

veth3     Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.1    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.2    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vif0.3    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

xenbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
makinzy's picture

أنا ضغت

أنا ضغت على create content>image ورفعت الصورة تانى ،اسمها commands بس مش عارفة ممكن يوسر تانى غيرى يشوفها ولا لاء

makinzy's picture

If you are running fedora

run as root these commands and paste the output in a comment not in image.


mii-tool
<

and check if there configuration for network device :


cat /etc/sysconfig/network-scripts/ifcfg-eth?
<

From the images that you have posted; it seems that you don't have any properly configured Ethernet interfaces.


Diaa Radwan

Conceptor's picture

السلام عليكم

السلام عليكم لما كتبت الأمر mii-tool كانت النتيجة no MII interfaces found

ولما كتبت cat /etc/sysconfig/network-scripts/ifcfg-eth

كانت النتيجة no such file or directory

تتبعت المسار من أول ملف etc بس فملف network-scripts ملقيتش ifcfg-eth لكن لقيت ifcfg-lo المهم كتبت ده cat /etc/sysconfig/network-scripts/ifcfg-lo

وكان output ده

DEVICE=LO IPADDR=127.0.0.1 NETMASK=255.0.0.0 NETWORK=127.0.0.0 IF YOU'RE having problems with gated

makinzy's picture

الحقيقة مش

الحقيقة مش عارفة شكل الخط والكتابة مش متظبط ليه إزاى الكتابة بتكون متظبطة كده عندكم؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟

عموما هحاول اكتبه تانى بطريقة أحسن

makinzy's picture

input mii-tool output no

input

mii-tool

output

no MII interfaces found

makinzy's picture

الحمدلله نجحت

الحمدلله نجحت إنى أكتب بالطريقة

بتاعتكم ..وده برضه فحد ذاته باعتبره نجاح الأمر التانى اللى كتيته

cat /etc/sysconfig/network-scripts/ifcfg-lo

output


IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
IF YOU are having problems with gated 127.0.0.0/8 a martian you can change to somthing else (255.255.255.255)for example BRodcast=127.255.255.255
onBoot=yes
Name =loopback
makinzy's picture

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.