hi ,Siemens.....
I solve IT..................... I am very sorry .... actually problem was that network card was not perfectly slotted in slot .. somebody disturbed that card.... that's why i didn't get eth0 configuration....... Anywhere Thanq for u r reply.... However i got experience how to process if network card fails... I note u r reply (by copy and paste) and save it into my folder... next time if i got similar problem then i follow u r procedure...... Lot of thanks to you and hats of to u r kind reply and kind heart ... I never forget U and ur help in my life...... Bye My friend...... With regds, Zameer Ahmed Syed |
@emailsent
hi, i stumbled on the thread and this is exactly the information i was looking for! at home i have a dsl router with a dhcp server, but when i bring my laptop to work i need to log into the network (without dhcp) by assigning it an IP address etc. and i hadn't figured out how with debian sarge.
can i use the same procedure you wrote in your answer to zameer? i'll need to assign a DNS address too though, how do i do that? i tried to directly rewrite the /etc/resolv.conf file but that didn't seem to work. thanks! mh |
Hi,
it really depends on what approach you want to take. If your dsl router has dhcp capabilities (and your want to use them), then you can make your interfaces file look like auto eth0 inet dhcp otherwise you need to assign settings manually auto eth0 iface eth0 inet static address 10.0.0.1 netmask 255.255.255.0 network 10.0.0.0 broadcast 10.0.0.255 gateway 10.0.0.138 about the DNS server, if you are using the dhcp approach. you should enter the address of the dhcp server (that is the IP address of a dns server provided by your ISP) in the configuration of the router. the router will pass on this info to the dhcp clients in your network automatically. if you are using static ip you should add a line in /etc/resolv.conf nameserver xxx.xxx.xxx.xxx which points to the DNS server of your ISP |
All times are GMT -5. The time now is 03:24 AM. |