new ethernet card
Hello all, the old ethernet card I had was not supported under Win2000 and another one was not supported under linux. So, now I have a new ethernet card. It's Cnet PR0200(B). It's not in the supported hardware list but the bundled disk contains the source of the driver for linux and a readme file. Now: " A. Compiler command: A-1: For normal single processor kernel "gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c dmfe.c" A-2: For single processor and enable kernel module version function "gcc -DMODULE -DMODVERSIONS -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c dmfe.c" Note: O of -O6 is a capital o, not a "0". " What does "enable version function" mean ? " B. How to compile driver B-1: Login by supervisor [I hope they mean root with supervisor, don't they?] B-2: Copy dmfe.c and Makefile into your HD. You can make a new directoty to put. B-3: Keep driver source file name as "dmfe.c" and makefile name as "Makefile" B-4: You can type the following command to compile driver. Please according to your system to pick one. make org;; make mod;;Set version info on all module symbol make smp;;symmetric multi-processing(SMP) support make smp_mod;;SMP & Set version into on module Or you can type above compiler command to compile driver. Note: Please check you must have the right kernel source on "/usr/src/linux". " I think make mod is my option, isn't it? " C. The following steps teach you how to activate NIC: C-1: A simple and temporary method 1. Used the upper compiler command to compile dmfe.c 2. Insert dmfe module into kernel "insmod dmfe";;Auto Detection Mode (Suggest) "insmod dmfe mode=0" ;;Force 10M Half Duplex "insmod dmfe mode=1" ;;Force 100M Half Duplex "insmod dmfe mode=4" ;;Force 10M Full Duplex "insmod dmfe mode=5" ;;Force 100M Full Duplex "insmod dmfe mode=100" ;;Force 1M HomeRun "insmod dmfe mode=200" ;;Force 1M LongRun 3. Config a dm9102 network interface "ifconfig eth0 172.22.3.18" ^^^ Your IP address 4. Activate the IP routing table. For some distributions, it is not necessary. You can type "route" to check. "route add default eth0" 5. Well done. Your DM9102 adapter actived now. Note. This is a temporary method. After you reboot the system, you will lost the setting. " Will it loose the settings? So how do I configure the whole stuff steadly ? " D. Object files description: 1. dmfe_r62.o: For Redhat 6.2, kernel version 2.2.14-5.0 2. dmfer61c.o: For Redhat 6.1+CLE0.8, kernel 2.2.12-20 3. dmfe_r60.o: For Redhat 6.0, Kernel 2.2.5-15 4. dmfe_m70.o: For Mandrake 7.0, Kernel 2.2.14-15mdk 5. dmfe_m61.o: For Mandrake 6.1, Kernel 2.2.13-7mdk 6. dmfer60c.o: For RedHat6.0+CLE0.8, kernel 2.2.5-15CLE 7. dmfe_k240t1.o: For Kernel240test1. Without SMP and did not set version on kernel module. 8. dmfe_k240t4.o: For Kernel240test4. Without SMP and did not set version on kernel module. If you can make sure your kernel version, you can rename to dmfe.o and directly use it without re-compiling. " Does this mean that there's no source for my 2.2 kernel ? Could you suggest me a better procedure to do the whole thing? Thanks Adri
Re: new ethernet card
Sebastian, thanks so much for your prompt reply. I saw I have the config modversions set to y I saw /usr/src/ and it's empty. I went in /boot/ and I saw the config-2.2.19pre17 file what does "pre17" mean? If I type "apt-get install kernel-source-2.2.19pre17" I get a "E: package not found" error or something similar. If I type "apt-get install kernel-source" or "apt-get install kernel-source-2.2.19" it finds the 2.2.19 package. Is it the same? Thanks so much Bye Adri At 17.09 18/06/2001 +0200, you wrote: Hi, On Mon, 18 Jun 2001, Adri wrote: > Hello all, > > the old ethernet card I had was not supported under Win2000 and another one > was not supported under linux. > > So, now I have a new ethernet card. It's Cnet PR0200(B). It's not in the > supported hardware list but the bundled disk contains the source of the > driver for linux and a readme file. > > Now: > > " >A. Compiler command: > > A-1: For [...] > Could you suggest me a better procedure to do the whole thing? > Done. Greetz, Sebastiaan
RE: New Ethernet Card
Don, At 18.19 18/06/2001 -0500, you wrote: Adri, I saw your message on the Debian-User archived mailing list (which I am NOT suscribed) and thought I would jump in here. I am using the 2.2.19 kernel here, and I just did a quick check of my existing, pre-compiled modules. There WAS a "dfme.o" module listed there, so your card may already have a compiled module that will work! Before going to the trouble of compiling the stuff that came with the card, take a look at your /lib/modules/2.2.19-pre17/net/ directory and see if you can find a "dfme.o" file listed there. If it is there, then you "should" be able to make it work by inserting it in the /etc/modules file or by using the "modconf" program and adding any needed options you may want. Thank you VERY much. The file was there, indeed, but it's called dmfe.o not dfme.o ! ;) I edited the /etc/module file and rebooted. Then, /usr/sbin/modconf had it loaded successfully. Then I edited the /etc/network/interfaces. There was a loopback interface in it, I added iface eth0 inet static address 195.94.135.247 netmask 255.255.255.192 network 195.94.135.192 gateway .. .. ... I don't remember now Then I typed ifup eth0 and I got "SIOCADDRT network unreachable" error message. I've looked for the /etc/init.d/network file but didn't find it. I found /etc/init.d/networking instead but it looks like all different stuff. Now, I wonder: is there something wrong about the ethernet card module OR about the network configurations? Isn't there a way to test the ethernet card ? Maybe I should look in /dev/ something ? Thanks so much, anyway. Bye Adri
Yuppyiiiiihihihihihihihiiyyihih!!!!!!!
IT WORKS That's wonderful !! Last time it didn't work because my collegue gave me the wrong gateway IP number, acc... This time I checked myself and used the right one and it worked !! So the card module is ok !! ifconfig eth0 even gave me the base addres (0xd000) and the irq 9 (I think) so the interaction with the hardware is correct !! Wonderful!! I pinged his machine and no packet went lost !!! Thank you very much to the all of you !! Now I can install and update from the net !! Thanks Bye Adri P.S. you'll hear from me soon...
memory
Hello all, I have some scattered questions a) I read that sometimes linu doesn't see all the ram you have installed on your machine. How can I verify hao much ram does my debian sees? And how can I correct the situation in case there's something wrong? b) how can I know how much space on my disk is free and how much is not free? Which is the utility? Also I saw I have exim installed and I have a smtp service running. How can I send a simple email? I don't want a complete email setup for now, I'd just love to send a simgle email, my first mail from linux !! I should use the smtp relay of the company, should I edit the /etc/exim.conf file? Thnak you all Bye Adri
changing hostname
Hello all, I changed my /etc/hostname from debianAdriano to Adriano That's because I'd like to bring my debian under the Windows domain of the company. I should entry a new row in the domain master for the linux hostname. Since I'm yet there with the name Adriano, I could be in the domain indefferently when I've booted linux or Win2000 !! Well, I saw the exim.conf file and there were some referrings to the old host name (debianAdriano) so I run eximconfig again. But now I wonder what other files still refer to the old name? What consequences I'm gonna run into? Thanks Bye Adri
Re: changing hostname
Ian and Nico, thanks to the both of you but I think I'm goin to reinstall from scratch. The solutions you suggest are too difficult for me and I have nothing important in this installation, so I have nothing to loose. I don't want to take the risk to incurr in consequences of the changed hostname for the next months... Since I'm at it I'd ask: I tryid to type "apt-get remove --purge samba" since I had messed with the smb.conf file and I wante to reinstall the one I found the first time. The script said it was purging samba files but then I still found the /etc/samba/ directory with all the old files in it. I removed it by hand. It claimed that /var/samba was not empty so not removed but I found nor /var/samba dir. Then I typed "apt-get install samba" and it installed it and automatically run sambaconf (or something). But then I couldn't find anymore the smb.conf file !! So how come it was there previously ? I didn't write it, neither the installer did. So who? Could this be the first problem in the changed hostname? Apt gets confused ? Just a thought Thanks, anyway Bye Adri At 12.16 22/06/2001 +, you wrote: > Adri, > > I'm in the habbit of reading loads of magazines / install guides / howto's > and so on. > They all warn for this situation. None of them give a way to 'solve' this. > They 'just' pont out to 'think hard' at the domain and hostname part. > I know that this does not help, so i hope this wil: > > Use cat and grep on your config files in /etc to find your old hostname. > > This is not a wonder-fix but it *should* get you there > I'd suggest: find /etc/ -type f |xargs grep $HOSTNAME rather than using cat, you'll get the names of any files containing matches back using this method. Also, it may be worth changing the search base to / as IIRC a search on a potato box turned up some matches elsewhere on the filesystem... hth, Iain -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
samba
Hello all, I just typed "smbclient -j myDomain -r myDomainServer" and got an error message: cli_net_auth2: Error NT_STATUS_ACCESS_DENIED cli_nt_setup_creds: auth2 challenge failed modify_trust_password: unable to setup the PDC credentials to machine myDomain. Error was : NT_STATUS_ACCESS_DENIED. 2001/05/03 01:09:43 : change_trust_account_password: Failed to change password for domain myDomain. Unable to join domain myDomain. Of course, myDoamin and myDomainServer are fictous. I tryied to create a user in Linux named after the NT domain user but linux says no dots in usernames while my username on that domain contains a dot. I saw someone having the same problem on the samba list but no one answered. What's wromg now? Thanks Bye Adri
Re: samba
Joost, At 14.49 26/06/2001 +0200, you wrote: On Tue, Jun 26, 2001 at 02:43:34PM +0200, Adri wrote: > I tryied to create a user in Linux named after the NT domain user but linux > says no dots in usernames while my username on that domain contains a dot. > > I saw someone having the same problem on the samba list but no one answered. > > What's wromg now? Maybe you forgot to search the web for "samba username map linux domain" Try google, it came up with many good-looking hits and hints when I tried just now. I never had to deal with this stuff myself, but I do remember reading about it in the samba docs when I last did that. I took a look and I saw I had no username.map file. I neither had any smb.conf file. I run smbpasswd and created a user named adri. Then I edited the username.map file with a Debian_user = NT_domain_user row. I also asked to my admin to erase and recreate a record for my machine in the domain, since I read this was necessary for samba to successfully join the domain. I restarted samba (etc/init.d/samba restart) Then I got a different error message; this time it was "NT_STATUS_NO_TRUST_SAM_ACCOUNT" So my changes produced an effect, though not the hoped one. Any hint? Thanks Bye Adri
Sorry (was: Re: samba)
>I took a look and I saw I had no username.map file. I neither had any smb.conf file. Sorry, I meant the samba user file, not smb.conf Thanks Bye Adri
packages from unstable
Hello all, I read on a list archive that Samba 2.2.x was put in the unstable packages collection. How can I try to install it? I updated via dpkg and it brought me the 2.0.7-3 version. I'm on potato 2.2 rev 3 Thanks Bye Adri
No hardware detection?
Hello all, I got another disk and tryied to install potato 2.2 rev 3 Nice installer but it asked me about my peripherals. Doesn't it detect them automagically? Shall I set each one of them? I didn't know what ethernet card I have so I didn't indicate any. Then it didn't fine any ftp site. Are these things correlated? Thanks Adri
Also...
Ehm, one more thing: on RedHat I had a utility called linuxconf; it was for setting things. Any similar utility under Debian? Or should I edit manually all the conf files with an editor? Thanks Adri
Re: [users] Also...
Martin, At 14.40 15/06/2001 +0200, you wrote: also sprach Adri (on Fri, 15 Jun 2001 02:31:34PM +0200): > Any similar utility under Debian? nope, and that's why debian is so good. if you need those utilities, get redhat or suse or progeny! those gui utils have inherent problems on systems like linux where config files may be edited by hand too. and of course, as micro$oft proves here and there, no gui utility can capture all the configuration options of a text file. > Or should I edit manually all the conf files with an editor? yes. that's the idea. that's debian. don't get upset, I was just asking. Linuxconf wasn't a gui app, it worked in terminal, just like the debian installer ! Anyhow I immediately received many answers about the apt stuff. Thanks! I managed to instruct apt to use my cd rom as source and installed linuxconf in the blimk of an eye. Nice! I got lost in dselect, instead. About hardware detection, I understand there's no aid, so I have to manually set my peripherals - thanks kent Bye Adri
now what ?
Ok, I didn't install the module for my ethernet card. What now? Shall I reinstall and indicate the ethernet card correctly or can I fix this up from where I am now? 2) I managed to remove X (it didn't work) with dselect but how to remove stuff with apt? 3) How do I get a list or an overview of all what I have installed on the system? dselect only? Thanks Bye Adri