eject modem
Hi all, I have a sagem fast 800 (ueagle-atm) module on my gateway. I have difficulties to synchronize because i'm far (very far) from the dslam. So, when it loses synchronisation, the modem can take hours before re-sync. Sometimes, it can't sync and I get error messages like these ones : Oct 6 11:49:20 localhost kernel: ATM dev 0: usbatm_complete: urb 0xcb2f2cc0 failed (-71)! Oct 6 11:49:20 localhost kernel: usb 1-1: [UEAGLE-ATM] uea_intr() failed with -84 Oct 6 11:49:20 localhost kernel: ATM dev 0: usbatm_complete: urb 0xcb2f2ac0 failed (-71)! Oct 6 11:49:20 localhost kernel: usb 1-1: [UEAGLE-ATM] sending DSP block 0 failed Oct 6 11:49:20 localhost kernel: ATM dev 0: usbatm_complete: urb 0xc5a03a60 failed (-71)! Oct 6 11:49:20 localhost kernel: ATM dev 0: usbatm_complete: urb 0xcc8fd740 failed (-71)! Oct 6 11:49:20 localhost kernel: usb 1-1: USB disconnect, address 96 Oct 6 11:49:20 localhost kernel: ATM dev 0: usbatm_submit_urb: urb 0xcb199e80 submission failed (-19)! Oct 6 11:49:20 localhost kernel: ATM dev 0: usbatm_submit_urb: urb 0xcb199e80 submission failed (-19)! Oct 6 11:49:24 localhost kernel: usb 1-1: [UEAGLE-ATM] usb_control_msg error -19 Oct 6 11:49:24 localhost kernel: usb 1-1: [ueagle-atm] ADSL device removed At this moment, I must unplug the modem, wait 5 to 10 seconds and re-plug it. I would like to be able to eject with a script the modem. So, i will scan every minute my syslog and when it found an error, the script will be launch. I have tried a script months ago that unload the module (and the usb module) but it doesn't work, it seems it doesn't find a new hardware (no new usb event on syslog). Is there a way to eject the hardware (via udev or anything else) ? Thanks in advance, Christophe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Traffic Mirroring for Debugging
Why don't you bridge the interfaces of 192.168.1.10 ? In that case, you need to reconfigure client to point to 192.168.1.20 and you can sniff your network via the 192.168.1.10 machine ? Hope this helps, Christophe Volkan YAZICI a écrit : Hi, In one of our servers, I want to debug a network server daemon. The problem is I don't have luxury for a downtime or to iterrupt related server's network traffic. Current routing structure looks like below. VPN Switch (192.168.1.1) - Server Machine (192.168.1.2) To debug the related server daemon, I planned to redirect the network traffic to a second sandbox server. Planned routing structure is: VPN Switch (192.168.1.1) | +- Temporary Linux Machine (192.168.1.10) || |+- Server Machine (192.168.1.2) +-- Sandbox Server Machine (192.168.1.20) For test purposes, I configured a client to connect to 192.168.1.10 (instead of actual server, 192.168.1.2). But I couldn't manage to redirect incoming traffic of 192.168.1.10 to 192.168.1.2 and 192.168.2.20 machines. How can I get such a mirrored redirection? Furthermore, I first considered using DNAT of iptables, but learnt that it doesn't support multiple destinations without load-balancing. Anyway, I wanted to give it a try for just a single machine. I connected to 1.10 machine and typed below iptables command: # iptables -t nat -A PREROUTING -d 192.168.1.10 -j DNAT --to-destination 192.168.1.20 # iptables -L -n -t nat Chain PREROUTING (policy ACCEPT) target prot opt source destination DNAT 0-- 0.0.0.0/0192.168.1.10 to:192.168.1.20 Chain POSTROUTING (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination And started a netcat listener on 1.20 machine: # nc -l -p 2310 Then tried to connect to the started nc listener from 1.10 machine: # nc -vvv 192.168.1.10 2310 192.168.1.10: inverse host lookup failed: Unknown host (UNKNOWN) [192.168.1.10] 2310 (?) : Connection refused sent 0, rcvd 0 Gosh! Even couldn't manage to make DNAT for a single address work properly. Any helps will be really really appreciated. Regards. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Traffic Mirroring for Debugging
I suppose you have multiples interfaces on your 192.168.1.10. Normally, you have multiple IP addresses on your 192.168.1.10, one address for each interface. If you bridge interfaces, all your interfaces will have one and only one IP address 192.168.1.10. If you prefer, your machine (192.168.1.10) will work as switch. You can see the beginning of this article (no need to use the firewall part, use only D1 or D2 depending on your configuration): http://www.debian.org/doc/manuals/securing-debian-howto/ap-bridge-fw.en.html Search also on google with debian+bridge. I'm french and I have many links but only in my language. HTH, Christophe Volkan YAZICI a écrit : On Fri, 22 Aug 2008, Bonnel Christophe [EMAIL PROTECTED] writes: Why don't you bridge the interfaces of 192.168.1.10? I don't have in depth experience with bridging, would you mind explaining a little bit about it please. (Example tutorial pointers will be appreciated.) In that case, you need to reconfigure client to point to 192.168.1.20 and you can sniff your network via the 192.168.1.10 machine? What I really need is not spoofing, I need to somehow redirect identical network traffic to a second machine. Applications are running on Microsoft Windows Servers on 1.2 and 1.20. Is bridging in the way you mentioned capable of doing such a thing? Regards. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: net problem, some apps not connecting
hi, hum, it looks like a ttl or mtu problem. Do you use PPPoA for your internet connection ? Try to open a google page with a web browser. If it works, enter a word for a search (it should work) and now click on one of the links (it should not work). If all this works, you have a mtu problem. I don't have here the solution but i may be something like this to add to your gateway firewall : $IPTABLES -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu It can also be a ttl problem. I'm not a specialist but you can search on the debian-amd64 mailing list on april 2008 the subject NAT and IPTABLES problem. It can help you if the first method doesn't work. Hope this helps Christophe Enrique Morfin a écrit : Hi! I have a g4 notebook. It had not been connected to any network for a while. Now i tried to conect to a network. The problem is the same in any network (wired or wireless, at home or work). So is not the network. It have dual boot (linux-osX). The problem is just in linux, so is not the hardware. It must be some configuration problem. The symptoms: It can't conecct to any other computer. I have tried the following browsers: iceweasel, iceape, konqueror, opera, lynx and links. All have failed conecting to any webpage. I have tried to connect via ssh (ssh, slogin, scp) to any other box in the net, all have failed. (I can't connect either to that box) Simply, ther is no answer. You can say it is the connection or dns or something, BUT: I can ping any other computer. Even the gateway or dns. If i type: host mail.yahoo.com or dig mail.yahoo.com or host www.hotmail.com or any other with host or dig, i get the answer. If i type nc any.ip.in.net 22 i get the ssh answer (SSH-2.0-OpenSSH_4.3p2 Debian-9) If i type wget http://www.google.com; I get the index.html that is google page. I can wget any page or file. I can aptitude update and aptitude safe-upgrade whitout any trouble. So the box is connecting to the net with some apps, but other apps are not connecting. There is no iptables nor proxies. There is any fixed arp table. The problem is the same if i connect the box direct to other box and i tried to connect via ssh or webpage. Any ideas? Some config file i'm missing? Thanks. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
bluetooth : Pb with org.bluez
I have a fresh install of an i386-Lenny on my laptop and i try to use bluetooth with it (my headset). I have many problems but the first of all i think is this one : When i do a hcid -n -d, I have this output : hcid[4732]: Bluetooth HCI daemon hcid[4732]: Enabling debug information hcid[4732]: Could not become the primary owner of org.bluez hcid[4732]: Unable to get on D-Bus It looks like bug 466013 : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466013 Before re-open the bug, i need you help to find if it's not another thing which cause the problem. Thanks in advance Christophe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: open-ssh keypair Auth
I had a similar problem several months ago. I go to /etc/ssh/ssh_config (on your franskenstein machine, not the server) and verify that you have PasswordAuthentication no Hope this helps Christophe Rich Healey a écrit : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, i've got a whole bunch of linux machines (mainly debian, with etch, testing, sid, and a frankenstein machine with mental pinning). Keypairs work fine except on the frankenstein machine, with the same keypair as works on my sid machine, my freeBSD machine, my gentoo box and etch desktop, it still asks for my password. Ideas? Thanks guys Rich Healey -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH7C+ELeTfO4yBSAcRAgexAKCaIOucQg+MLhWI6CowUF+93bfXjQCbBA9M /WEItaE+fSjrbwPaMcrNbgg= =7uO4 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Autostarting programs with Fluxbox
Christian Koerner a écrit : Rehceb Rotkiv wrote: Hello, Hi Rehceb, what is the proper way to automatically start a program after Fluxbox launch? Most sources say something about ~/.xinit or ~/.xsession, but I do not have/need these files because I launch Fluxbox from GDM (via a .desktop file). Not sure if it's the proper way but you can add the following line into the file ~/.fluxbox/init: session.screen0.rootCommand:~/.fluxbox/autostart.sh In this file you can add the commands you want to run after fluxbox is up. See also: http://fluxbox.sourceforge.net/docs/newdoc.manpage.php With best regards, Rehceb //BR Christian You can also put this line into the ~/.fluxbox/apps to launch gkrellm at Fluxbox launch [startup] {gkrellm} Hope this helps, Christophe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Preventing IP conflict
T o n g a écrit : Second check, as Douglas said, that the mac address are the same under the 2 OS . . . I haven't got around to reboot into window$ and check yet. But I believe that they are the same. I'll post immediately if otherwise. When your problem come back, use the command i gave you (under windows or under Linux according the case) and report immediatly the information to the network administrator. At this time, it can search on the network where the ip address is used from another machine. Can I do that myself from my Linux box? I remember seeing Window$ hacking SW to bomb another box to dead blue screen. How I wish those tools are available under Linux now. :-) The network administrator should have tools to detect the problem but you can try this method (i never use it when i have an ip conflict) First : launch ifconfig and see your ip address/netmask. I assume that is 192.168.1.2 with a netmask 255.255.255.0 Second : launch nmap 192.168.1.0-255 (adapt according your ip and netmask). I take some minutes (less than 5 in most of cases). This method works if the machine on the network don't block each reply from nmap, but i think it's so if your network adminstrator did his job ;) Now you will see each ip used on your network. Third : Switch to a static address that has not been listed by nmap and see if you have problem. If you have one, try another till you find temporary a ip address which is not used Fourth : in root, do arp 192.168.1.2(your first ip address which gives the conflict). Normally, it will show you its mac address. With this one, you can see your network administrator. I repeat that i never used this method with an ip conflict. I may not work but if it works, i'm glad to know it. Hope this helps, Christophe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Preventing IP conflict
T o n g a écrit : Hi, It's now the third time that I bumped into such situation. All of sudden I suffer from network delay and package lost, can't ping DNS server but can ping some IPs that is connecting to my box. I have suspected my cable, kernel version, etc, etc, and until today, after rebooting into Window$ and noticing the warning message, did I realize that all above is caused by IP conflict -- there is another box on the network using the same IP address as mine. We know it is definitely because of the malfunctioning of our organization's DNS server. But if I report it to our technical services, I know for sure that I am the person to be blamed: Why are you using Linux? We are primarily a Window$ shop here. Linux is not supported. That's the life that I have to live in. I'm wondering if there is anything at my end that can prevent/eliminate the problem. Thanks Hi, Don't confuse DHCP and DNS. DNS is a protocol which transform adress name in ip address (www.google.fr-209.85.137.104 for example). When you are on a network, there are two ways to have an IP address : static or via DHCP. As it was said by Douglas, if you have a problem under windows, it is not a linux problem but a network problem. First, as Alex ask, do you use dhcp or static ip ? under windows and under linux ? Second check, as Douglas said, that the mac address are the same under the 2 OS In windows, start a console (execute cmd command under xp to launch it) and enter ipconfig /all In Linux, start a root console and enter ifconfig Check also the ip address at this time (it can be used later). When your problem come back, use the command i gave you (under windows or under Linux according the case) and report immediatly the information to the network administrator. At this time, it can search on the network where the ip address is used from another machine. Beware of laws too. In some businesses, if it's windows on all the machines, it can be a contract and they can't use Linux while the contract lives. So the network administrator may not help you in that case or it can be dismiss. Hope this helps Christophe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Ping works but not internet
Guillaume a écrit : Axel Minck a écrit : Hi everybody, I recently installed Debian on my computer (2.6.18 kernel). After some time to configure the wireless internet access, I can: - Ping addresses - Go to Google homepage (sometimes I cannot even open Google) - Carry out searches on Google But I can’t go to any other address. Even in Google’s results list, clicking on a link will result in a timed out error. In parallel, I can ping the addresses I cannot access with the navigator. Does someone have an idea to solve this ? It seems very strange…. Thanks in advance ! Hi Are you bind a router of any sort This sounds like a MTU problem ! Little packet (ping) are ok but not large packet(surfing). Regards Guillaume I had the same problem and it was a MTU problem as Guillaume says. In your /etc/network/interfaces file, add these lines where you configure your wireless connection : mtu 1450 up echo 0 /proc/sys/net/ipv4/tcp_window_scaling up echo 0 /proc/sys/net/ipv4/tcp_ecn Then restart network with : /etc/init.d/networking restart And try again to use internet, it works for me. Hope this helps Christophe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: networking: fixed ip address and dhcp
Hi, What type of ping did you try ? 1) does ping XXX.YYY.ZZZ.1 work ? (If no, paste here the output of ifconfig command) 2) does ping 209.85.135.99 work ? (If no, paste here the output of route -n command) (This is a google ip) 3) does ping www.google.fr work ? (If no, paste here the output of cat /etc/resolv.conf command) Hope this helps Christophe John O Laoi a écrit : I have a dell laptop on which I have just performed a basic install of etch using netinstall, on which I installed xfce. (I did have gnome, but I needed to repartition, so i decided to try xfce.) The problem is now with my networking At home, I use dhcp - no problem. When I bring the laptop to work, I use fixed ip addressing. I used to have a file which contained ifconfig eth1 XXX.YYY.ZZZ.WWW netmask 255.255.255.0 route add default gw XXX.YYY.ZZZ.1 cat seach domain/etc/resolv.conf cat nameserver AAA.BBB.CCC.DDD resolv.conf which I would simply sudo when I get to work and I got my static ip address networking to work. This does not work now - I can't ping out. When I run ifconfig at the command line, it gives me the correct ip address, and tells me that it is up. The /etc/network/interfaces file is auto lo iface lo inet loopback allow-hotplug eth1 iface eth1 inet dhcp I did a very basic install – maybe something is missing. any ideas? John -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Slow Network Connection
I can suggest you, if you have 2 PC and you use IPv4, to try netio http://freshmeat.net/projects/netio/ You need to compile this old program. But i used to test connection speed between my machines and it worked pretty good. Hope this helps Christophe Eric Estes a écrit : I just purchased a Shuttle XPC SN27P2 barebones system. Chipset: North Bridge - Nvidia nForce 570 Ultra Onboard NIC: Marvell 88E1116(10/100/1000Mbps) - I also added a Intel Dual-Server NIC and disabled the Marvell I tried installing Debian 4.0r0, 4.0r1 and a nightly test build and they all suffer from the same problem; an extremely slow connection to the internet (about dial-up speed - I have a 5Meg cable connection). Yet, if I boot off of a PCLinuxOS Live CD the network works perfectly. I've changed cables and network cards with no luck. I'm hoping someone here will see something that I've overlooked. Thank you. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Slow Network Connection
Have you tried to boot with the noapic option with all of your OS to see differences ? Eric Estes a écrit : Something I found interesting...PCLinuxOS out of the ones listed below is the only one that worked for me (normal network speeds). I noticed it's the only one that has IO-APIC-level rather than IO-APIC-fasteoi. Could that be my problem and if so how do I fix that? PCLinuxOS: [EMAIL PROTECTED] root]# cat /proc/interrupts CPU0 CPU1 0: 39309 2494 IO-APIC-edge timer 6: 1 1 IO-APIC-edge floppy 8: 3 2 IO-APIC-edge rtc 9: 0 0 IO-APIC-level acpi 14: 4486 1 IO-APIC-edge ide0 16: 1146 1 IO-APIC-level libata, HDA Intel 17: 555 1 IO-APIC-level libata 18: 682 1 IO-APIC-level ohci_hcd:usb1 19: 2 1 IO-APIC-level ehci_hcd:usb2 20: 2 1 IO-APIC-level ohci1394 21: 29 1 IO-APIC-level eth0 22: 61 1 IO-APIC-level eth1 NMI: 0 0 LOC: 41779 41767 ERR: 1 MIS: 0 [EMAIL PROTECTED] root]# Debian: [EMAIL PROTECTED]:~$ cat /proc/interrupts CPU0 CPU1 0: 84 1 IO-APIC-edge timer 1: 0 2 IO-APIC-edge i8042 6: 0 2 IO-APIC-edge floppy 8: 0 0 IO-APIC-edge rtc 9: 0 0 IO-APIC-fasteoi acpi 12: 0 4 IO-APIC-edge i8042 14: 0 764 IO-APIC-edge ide0 16: 0 257 IO-APIC-fasteoi ehci_hcd:usb1, HDA Intel 17: 2 1401 IO-APIC-fasteoi ohci_hcd:usb2 18: 0 36 IO-APIC-fasteoi eth1 19: 0 63 IO-APIC-fasteoi eth2 20: 0 2 IO-APIC-fasteoi ohci1394 21: 0 0 IO-APIC-fasteoi libata 22: 2 5733 IO-APIC-fasteoi libata NMI: 0 0 LOC: 5171 8933 ERR: 1 MIS: 0 [EMAIL PROTECTED]:~$ Knoppix: [EMAIL PROTECTED]:~$ cat /proc/interrupts CPU0 CPU1 0: 92 109261 IO-APIC-edge timer 1: 0 2 IO-APIC-edge i8042 6: 0 2 IO-APIC-edge floppy 8: 0 1 IO-APIC-edge rtc 9: 0 0 IO-APIC-fasteoi acpi 12: 0 4 IO-APIC-edge i8042 14: 1 2175 IO-APIC-edge ide0 16: 0 237 IO-APIC-fasteoi libata, HDA Intel 17: 1 242 IO-APIC-fasteoi libata 18: 0 3 IO-APIC-fasteoi ehci_hcd:usb1 19: 1 3640 IO-APIC-fasteoi ohci_hcd:usb2 20: 0 3 IO-APIC-fasteoi ohci1394 21: 15 8061 IO-APIC-fasteoi eth1 NMI: 0 0 LOC: 109311 109296 ERR: 1 MIS: 0 [EMAIL PROTECTED]:~$ SabayonLinux: [EMAIL PROTECTED] ~ $ cat /proc/interrupts CPU0 CPU1 0: 250 0 IO-APIC-edge timer 1: 3 3 IO-APIC-edge i8042 6: 0 2 IO-APIC-edge floppy 8: 48 2 IO-APIC-edge rtc 9: 0 0 IO-APIC-fasteoi acpi 12: 0 4 IO-APIC-edge i8042 14: 6853 6 IO-APIC-edge libata 15: 0 0 IO-APIC-edge libata 16: 9568 4 IO-APIC-fasteoi ohci1394, nvidia 17: 1693 1 IO-APIC-fasteoi sata_nv, ohci_hcd:usb2 18: 164 5 IO-APIC-fasteoi sata_nv 19: 2 1 IO-APIC-fasteoi ehci_hcd:usb1 20: 6067 1 IO-APIC-fasteoi HDA Intel 21: 133 1 IO-APIC-fasteoi eth0 22: 77 1 IO-APIC-fasteoi eth1 NMI: 0 0 LOC: 292338 292302 ERR: 1 MIS: 0 [EMAIL PROTECTED] ~ $ Kubuntu 7.01: [EMAIL PROTECTED]:~$ cat /proc/interrupts CPU0 CPU1 0: 53890 2253 IO-APIC-edge timer 1: 0 2 IO-APIC-edge i8042 6: 1 1 IO-APIC-edge floppy 8: 28 2 IO-APIC-edge rtc 9: 0 0 IO-APIC-fasteoi acpi 12: 2 2 IO-APIC-edge i8042 14: 6506 1 IO-APIC-edge ide0 16: 5839 1 IO-APIC-fasteoi ohci_hcd:usb1, HDA Intel 17: 2 1 IO-APIC-fasteoi ehci_hcd:usb2 18: 1 1 IO-APIC-fasteoi ohci1394 19: 331 1 IO-APIC-fasteoi eth0 20: 87 1 IO-APIC-fasteoi eth1 21: 0 0 IO-APIC-fasteoi libata 22: 302 1 IO-APIC-fasteoi libata NMI: 0 0 LOC: 56035 56045 ERR: 1 MIS: 0 [EMAIL PROTECTED]:~$ -Original Message- From: Bonnel Christophe [mailto:[EMAIL PROTECTED] Sent: Friday, September 28, 2007 5:37 AM To: debian-user@lists.debian.org Subject: Re: Slow Network Connection I can suggest you, if you have 2 PC and you use IPv4, to try netio http://freshmeat.net/projects/netio/ You need to compile this old program. But i used to test connection speed between my machines and it worked pretty good. Hope this helps Christophe Eric Estes a écrit : I just purchased a Shuttle XPC SN27P2 barebones system. Chipset: North Bridge - Nvidia nForce 570 Ultra Onboard NIC: Marvell 88E1116(10/100/1000Mbps) - I also added a Intel Dual-Server NIC and disabled the Marvell I tried installing Debian 4.0r0, 4.0r1 and a nightly test build and they all suffer from the same problem; an extremely slow connection to the internet (about dial-up speed - I have a 5Meg cable connection). Yet, if I boot off of a PCLinuxOS Live CD the network works perfectly. I've changed cables and network cards with no luck. I'm hoping someone here will see something that I've overlooked. Thank you. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Intel Pro network
My first idea, i had such a error with a static ip. The problem came from a ctrl+space character I think or such a thing. Clean you /etc/network/interfaces with the lines you have for eth0 and rewrite them. Then verify if ifconfig eth0 up works. Second idea, udev may not create eth0 instantly (I doubt). Have you tried ifconfig eth0 up at starting, after 5minutes, after 1 hour ? Third idea, kernel problem. Have you tried another kernel ? If you can, try with a Knoppix CD to see if another kernel version works better. Hope this helps. Christophe L.V.Gandhi a écrit : On 8/21/07, Wayne Topa [EMAIL PROTECTED] wrote: L.V.Gandhi([EMAIL PROTECTED]) is reported to have said: I have 0a:08.0 Ethernet controller: Intel Corporation Intel(R) PRO/100 VE Network Connection (rev 02) Its module is getting loaded lvgvaio:~# lsmod|grep e100 e100 32232 0 mii 5344 1 e100 my /etc/network/interfaces is # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 #auto eth0 iface eth0 inet dhcp When I don't want my eth0 to come up at bootup, I do the same as you you show above. When I want it to associate on bootup I do #allow-hotplug eth0 auto eth0 iface eth0 inet dhcp I tried both methods. But I couldn't succeed. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Cannot connect to network anymore
Mitja Podreka a écrit : Douglas Allan Tutty wrote: On Wed, Jul 11, 2007 at 01:07:19AM +0200, Mitja Podreka wrote: In the last few days I cannot connect to network with my laptop anymore. It is a dual boot and in windows everything works fine. In Debian it doesn't work anymore. I use Etch. As I have no idea where to start I'm asking for help and sending some information about what computer says: klopotec:~# ifconfig eth0 Link encap:Ethernet HWaddr 00:08:02:02:96:6F inet6 addr: fe80::208:2ff:fe02:966f/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 klopotec:~# dhclient eth0 Listening on LPF/eth0/00:08:02:02:96:6f Sending on LPF/eth0/00:08:02:02:96:6f Sending on Socket/fallback No DHCPOFFERS received. No working leases in persistent database - sleeping. 1 ) Do you know if you use ipv4 or ipv6 ? Can the laptop connect on any other network? Is it the cable? Do you have a connect light on the NIC or on whatever the other end of the cable goes to? I have an ADSL connection and for the last two months (since I installed Etch) it was working fine. If I reboot to windows it works fine, when I came back it doesn't work, so I guess it is a software problem in Etch. I have another computer on the same connection running Etch and it also works fine 2 ) Have you updated your etch system between the last working etch and the actual etch ? Have you changed the kernel ? 3 ) If you use ipv4 (classic ip address type), try in windows to launch a ms-dos console and enter the ipconfig command. Note the ip address, netmask and gateway And try a /etc/network/interfaces config file as this followind one : auto eth0 iface eth0 inet static address put here the ip address without the quotes netmask put here the netmask without the quotes gateway put here the gateway without the quotes Then do /etc/init.d/networking restart and try to ping another machine on your network (gateway for example). Tell us if it works or not. Do you know the network topography or the IP of the dhcp server? Can you ping it from your laptop? Can you ping anything from your laptop? I know the IP of DHCP server and I cannot ping anything: connect: Network is unreachable It could be a problem with the dhcp server and not with your laptop. Do you also control the dhcp server? What do its logs show. Do they show a request from your laptop? If other computer and OS works I guess it is not the problem of DHCP server. thanks Mitja Hopes this help Christophe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Debian only sees 885.5 MiB memory
I remember an old option in kernel that asked you which size of ram you think to be used. This option seems to have disappeared now. If you want a 2.6.11 kernel, try to compile the kernel and search for such an option... Christophe Nigel Henry a écrit : On Friday 15 June 2007 16:46, arijit sarkar wrote: On Fri, 2007-06-15 at 08:02 -0500, Gary Rosenfeldt wrote: Hello, I recently installed Debian Etch on my desktop system. My mobo is an abit nf-7s with nforce2 chipset. I have 1 gig of ram installed but debian only sees 885.5 MiB of my ram. Fortunately, I'm not experiencing any stability issues. Anyone know the cause of this oddity. Thanks, Gary It's obvious, your motherboard has 128mb shared memory. So debian sess only 885.5 mb. I also have 1gig RAM and 128 mb as shared graphics memory. My 'system monitor' shows ~885mb. check out your BIOS settings. :-) -- Arijit Sarkar Kolkata, India That's interesting. I was booted up in Lenny using the 2.6.11 kernel, and usually see Gkrellm showing 885Mb of my 1Gb RAM. I've since rebooted with the 2.6.17 kernel , and with that kernel, Gkrellm is showing the full 1005Mb of RAM. The onboard graphics card is a Cyberbladei1 (trident driver). Quite why booting with the 2.6.11 shows 885Mb, and booting with the 2.6.17 shows 1005Mb is a bit bizarre. Probably some kernel thingy. Nigel. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
setpci : find the correct register
Hi all, I'm trying to be able to wake on lan a computer. I have tried directly with ethtool but i have the classic error : Cannot get current wake-on-lan settings: Operation not supported So, after hours of searching on the web, i found that it's possible to address directly the bus to have wake on lan enabled My lspci returns : deb-multi:~# lspci -s 01:08.0 -vvvxxx 01:08.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30) Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium TAbort- TAbort- MAbort- SERR- PERR- Latency: 64 (2500ns min, 2500ns max), Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 10 Region 0: I/O ports at ec00 [size=128] Region 1: Memory at fdfffc00 (32-bit, non-prefetchable) [size=128] Expansion ROM at f900 [disabled] [size=128K] Capabilities: [dc] Power Management version 1 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00: b7 10 55 90 17 01 10 02 30 00 00 02 08 40 00 00 10: 01 ec 00 00 00 fc ff fd 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 b7 10 55 90 30: 00 00 00 fe dc 00 00 00 00 00 00 00 0a 01 0a 0a 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 d0: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 01 f6 e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 I want to change the status to D3 PME-Enable+, so i use setpci as this : setpci -v -s 01:08.0 ?.w=0100 where ? is the register i want to modify in order to have D3 PME-Enable+ Is there an easy way to find the correct value or must i try all the possibilities ? I have tested : setpci -v -s 01:08.0 58.w=0100 setpci -v -s 01:08.0 4C.w=0100 but lspci showed me that the value was not modified Strange, isn't it ? Thanks in advance for your help Christophe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cannot access machine after apt-get dist-upgrade
Robert Cates a écrit : From: Daniel Burrows [EMAIL PROTECTED] To: Robert Cates [EMAIL PROTECTED] CC: debian-user@lists.debian.org Subject: Re: cannot access machine after apt-get dist-upgrade Date: Mon, 04 Jun 2007 06:27:43 -0700 MIME-Version: 1.0 Received: from murphy.debian.org ([70.103.162.31]) by bay0-mc6-f15.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Mon, 4 Jun 2007 06:30:02 -0700 Received: from localhost (localhost [127.0.0.1])by murphy.debian.org (Postfix) with QMQPid 9C1462E140; Mon, 4 Jun 2007 13:29:17 + (UTC) Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44])by murphy.debian.org (Postfix) with ESMTP id 320662E160for debian-user@lists.debian.org; Mon, 4 Jun 2007 13:29:10 + (UTC) Received: from emurlahn.burrows.local ([71.112.26.136]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id [EMAIL PROTECTED] for debian-user@lists.debian.org; Mon, 04 Jun 2007 08:29:21 -0500 (CDT) X-Message-Info: LsUYwwHHNt3660MmjhEvYg2f34OAemlK+ZzoV09lDsZmbz8QigGIQtU5Yvr3lK0P Old-Return-Path: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on murphy.debian.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=4.0 tests=AWL,BAYES_00,FORGED_RCVD_HELO,LDOSUBSCRIBER,MAILTO_TO_SPAM_ADDR autolearn=no version=3.1.4 X-Original-To: debian-user@lists.debian.org References: [EMAIL PROTECTED][EMAIL PROTECTED] User-Agent: Mutt/1.5.13 (2006-08-11) X-Rc-Virus: 2006-10-25_01 X-Rc-Spam: 2007-05-24_01 Resent-Message-ID: [EMAIL PROTECTED] Resent-From: debian-user@lists.debian.org X-Mailing-List: debian-user@lists.debian.org archive/latest/487457 X-Loop: debian-user@lists.debian.org List-Id: debian-user.lists.debian.org List-Post: mailto:debian-user@lists.debian.org List-Help: mailto:[EMAIL PROTECTED] List-Subscribe: mailto:[EMAIL PROTECTED] List-Unsubscribe: mailto:[EMAIL PROTECTED] Precedence: list Resent-Sender: [EMAIL PROTECTED] Resent-Date: Mon, 4 Jun 2007 13:29:17 + (UTC) Return-Path: [EMAIL PROTECTED] X-OriginalArrivalTime: 04 Jun 2007 13:30:03.0469 (UTC) FILETIME=[753A4FD0:01C7A6AC] On Sun, Jun 03, 2007 at 11:58:55AM +, Robert Cates [EMAIL PROTECTED] was heard to say: this is going to be my new server, so there's no GUI, only text mode, and it gets all the way to the login prompt, but the machine will not take keyboard (USB, which is what I always used) input. As I was saying, I can see during the bootup that the network cards are not started, but I can't tell why, so I'm therefore also unable to access the machine per remote SSH. OK -- have you tried booting with init=/bin/sh? I'm betting you still won't be able to type, but it might be worth a try. You could also try booting a live CD and using it to examine the system logs for clues about what's happening. Here's another thought: have you been loading the USB/network modules from /etc/modules or from udev/hotplug? Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] Um, how do I set the boot option init=/bin/sh if I can't access the machine? Well, I can't tell from where the USB/network modules are loading from. Is this a difference between kernels 2.6.8 and 2.6.18? I guess I'll probably have to use a Live CD, I was hoping though that maybe somebody on the list already knows right where the problem is. Robert The init=/bin/sh could be modified during the OS choice (grub ou lilo) if you have one. With grub, edit the boot option with e and modify the launch line with e too, add at the end of line init=/bin/sh and valid by enter then boot with b. With lilo, just select the boot option and add at the end of line init=/bin/sh. This solution is available if you have a boot menu and if your keyboard is detected... Be careful that nothing is mounted except the root partition which is in read-only mode. /proc filesystem isn't mounted too !!! I can suggest you to boot with a liveCD and paste here log files as /var/log/syslog for example. If you have a initrd, you should use it. You can create a shell script (with liveCD) and launch it at boot time with init=/path/to/shell/script. This script can be use to load modules, make pause to see the errors, and try to store datas somewhere (usb disk ?). Don't forget to chmod u+x the script shell or you will need a new liveCD boot (believe my experience) Hope this can help you Christophe _ Don’t miss your chance to WIN $10,000 and other great prizes from Microsoft Office Live http://clk.atdmt.com/MRT/go/aub0540003042mrt/direct/01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Preventing delayed USB writes
Hi, I use gkrellm with the default plugin systemfile. It allows you mount and unmount the drives you have specified with a button. The other advantage is that, if you mount the partition with another tool, gkrellm will detect it and still can be use to unmount it. Another information that can be interesting : gkrellm show you the space used on the partition (with number or graphical), so you can evaluate the space left on your drive. I have also fully migrated to Linux there is 4-5 years and my wife uses this method. I learn to to my brother, my mother, ... everyone understand, it is not difficult. The big disavantage for gkrellm, in your case, is that it will not displayed only the mounted tool but the %cpu, the disk activity, ethernet activity, You can disactive theses options but i am not sure that all can be swith off at the same time. Hope this help Christophe Daniel Burrows a écrit : On Thu, May 17, 2007 at 05:21:17PM -0700, pedxing [EMAIL PROTECTED] was heard to say: On May 17, 8:50 pm, Douglas Allan Tutty [EMAIL PROTECTED] wrote: To me, ideally, nothing would be written to the flash at all until either sync or umount. Yes, I wait. Yes, I also wait. Because KDE doesn't give the user any indication of how long to wait, the user has to drop to a terminal, run a sync command, and wait for the prompt to come back to get any indication of when it is ok to remove. You may want to take a look at Gnome. In Gnome, removable devices are handled like this: an icon appears on the desktop when the device is inserted. When you're done with the device, you click on the icon and select safely remove. A window pops up saying removing device... or somesuch, and when it goes away it's safe to remove your device (and the icon on the desktop is gone). I don't use Gnome much except as an xterm launcher, so I can't say more than that, but it looks like this aspect is pretty well-designed. I couldn't believe that KDE doesn't do something like this nowadays -- Gnome has been doing this for at least a couple years IIRC -- so I downloaded and installed KDE on my desktop to try it out. Apparently the only way to get an icon for your removable device is to click on the services tab (intuitively represented by ... a flag?), which shows attached devices under storage media and lets you safely remove the device. A little green triangle disappears after the device is unmounted, which I didn't even notice until I'd mounted/unmounted it several times. So, the functionality is present in both UIs, but KDE has chosen a rather obtuse way of getting at it, IMO. Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]