blob: 8f50d04c4669e5a738cb473609efee3625a0d79b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-discuss] Cannot connect to the internet (ethernet) without an extra command
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Cannot%20connect%20to%20the%20internet%20%28ethernet%29%0A%09without%20an%20extra%20command&In-Reply-To=%3C201103041826.41180.dglent%40gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="003877.html">
<LINK REL="Next" HREF="003876.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-discuss] Cannot connect to the internet (ethernet) without an extra command</H1>
<B>Dimitrios Glentadakis</B>
<A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Cannot%20connect%20to%20the%20internet%20%28ethernet%29%0A%09without%20an%20extra%20command&In-Reply-To=%3C201103041826.41180.dglent%40gmail.com%3E"
TITLE="[Mageia-discuss] Cannot connect to the internet (ethernet) without an extra command">dglent at gmail.com
</A><BR>
<I>Fri Mar 4 18:26:40 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="003877.html">[Mageia-discuss] KDE Upgrade on the way
</A></li>
<LI>Next message: <A HREF="003876.html">[Mageia-discuss] Linux is a KERNEL not an OS
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3874">[ date ]</a>
<a href="thread.html#3874">[ thread ]</a>
<a href="subject.html#3874">[ subject ]</a>
<a href="author.html#3874">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Στις Πέμπτη 03 Μάρτιος 2011 18:42:35 γράψατε:
><i> i have this card internet
</I>><i> r8169 : Realtek Semiconductor Co., Ltd.|RTL8111/8168B PCI Express Gigabit Ethernet controller [NETWORK_ETHERNET] (rev: 03)
</I>><i> And with Mageia i did nt have any problem since yesterday that i dont have internet connexion
</I>><i>
</I>><i> To be connected i have to execute this commande:
</I>><i> ethtool -s eth0 autoneg off
</I>><i>
</I>><i> Before (mandriva) i had this setting:
</I>><i>
</I>><i> i created this file:
</I>><i> /etc/modprobe.d/r8169.conf
</I>><i>
</I>><i> with this content:
</I>><i> # turn off autonegotiation on the r8169 ethernet driver
</I>><i> install r8169 /sbin/modprobe --ignore-install r8169 && /usr/sbin/ethtool -s eth0 autoneg off
</I>><i>
</I>><i>
</I>><i> The problem is that now it does nt work and i have to run the command "ethtool -s eth0 autoneg off" manually
</I>><i>
</I>><i> Is any other setting that i can to do have internet connexion on every boot, or to execute this command on boot
</I>><i>
</I>><i>
</I>><i> Thanks
</I>><i>
</I>><i>
</I>><i>
</I>><i>
</I>
I added the command in the file /etc/rc.d/rc.local and it is connected after reboot.
/etc/rc.d/
[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">dglent at localhost</A> ~]$ cat /etc/rc.d/rc.local
#!/bin/sh
#
### BEGIN INIT INFO
# Provides: rc.local
# X-Mandriva-Compat-Mode
# Default-Start: 2 3 4 5
# Short-Description: Local initialization script
# Description: This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
### END INIT INFO
touch /var/lock/subsys/local
ethtool -s eth0 autoneg off
I dont know if it is important but it has the word Mandriva this file
--
Dimitrios Glentadakis
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="003877.html">[Mageia-discuss] KDE Upgrade on the way
</A></li>
<LI>Next message: <A HREF="003876.html">[Mageia-discuss] Linux is a KERNEL not an OS
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3874">[ date ]</a>
<a href="thread.html#3874">[ thread ]</a>
<a href="subject.html#3874">[ subject ]</a>
<a href="author.html#3874">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
mailing list</a><br>
</body></html>
|