You are not logged in.
Hello everyone, this is my first post.
I've been running linux -as user and home-admin- for almost 10years now, and Arch linux for the last 1 and a half.
Never had any serius problems, but right now I'm stucked with a network problem.
My computer runs arch&win7, win7's network is working perfectly, and arch's network was working until yesterday, so the problem is not the router, wire, or network port, since win7 works.
My issue is that the network -wired- keeps diying every ~40seconds, and I have manually to reset the network in order to get it back for another ~40seconds (sudo /etc/rc.d/network restart)
Last thing I did before my problems started, was just reboot, boot windows, played duke nukem for a while
, and when I came back to arch, problems started.
I would aprreciate help sooo much, since i ussually need to connect from work to home (dev branch server (apache+mysql+php) is running on my computer, don't ask why).
ifconfig output:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
inet 192.168.1.33 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::218:f3ff:fea7:c655 prefixlen 64 scopeid 0x20<link>
ether 00:18:f3:a7:c6:55 txqueuelen 1000 (Ethernet)
RX packets 1759 bytes 1040982 (1016.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2202 bytes 331874 (324.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436 metric 1
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 410 bytes 31204 (30.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 410 bytes 31204 (30.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
rc.conf network section
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="gantz"# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
# - interface: name of device (required)
# - address: IP address (leave blank for DHCP)
# - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
# - broadcast: broadcast address (ignored for DHCP) (optional)
# - gateway: default route (ignored for DHCP)
#
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# broadcast=192.168.0.255
# gateway=192.168.0.1
#
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=interface=eth0
address=192.168.1.33
netmask=255.255.255.0
broadcast=192.168.1.255
gateway=192.168.1.1# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This requires the netcfg package
#
#NETWORKS=(main)
Last edited by mzneverdies (2012-02-05 01:12:42)
Offline
Ok, solved
This was really stupid but was driving me crazy.
On windows I use dhcp, on linux, static ip.
While I was on windows, my phone connected my wifi ussing dhcp, and got my linux's ip.
So, when I came back to linux, I had an IP conflict, and my conection died evertyme.
Turned off my phone's wifi, and everything is ok.
Offline