LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Configuring Ethernet card in BackTrack (slax) (https://www.linuxquestions.org/questions/linux-newbie-8/configuring-ethernet-card-in-backtrack-slax-591884/)

dstar101 10-15-2007 05:03 AM

Configuring Ethernet card in BackTrack (slax)
 
as 4 days are left in the release of ubuntu to be downloaded i was thinking to try some live cd.I am using BackTrack 2 based on slax live cd but can not configure my network card .I have two net work card's
Intel(R) PRO/100+ Management Adapter for Connecting to Internet this card is detected by BackTrack but i do not know how to config it i mean i want to change it's ip address to 10.10.10.2x,i want to change default getway to 10.10.10.10,i want to change it's subnet mask to 255.255.255.0 and i want to change DNS server to 202.133.44.x
This is the setting which my isp has told me to use



Intel(R) PRO/100 VE Network Connection: This card is not detected by BackTrack2 how do i config it




BackTrack2 is a pentest linux and can be downloaded for free from www.remote-exploit.org

dstar101 10-15-2007 01:26 PM

bump
bump...

Dinithion 10-15-2007 02:09 PM

I must admit that I haven't used Backtrack for a long time. Do you have 255 different DNS-servers to use? You would need a more spesific IP-adress, unless you are hiding the rest for us. Anyway, add "nameserver 202.133.44.x" to /etc/resolv.conf

Then start your network-card with: ifconfig eth0 10.10.10.2x netmask 255.255.255.0
Then add your gateway with: route add default gw 10.10.10.10

I'm not quite sure about gateway. I've never had to use it.

dstar101 10-16-2007 03:43 AM

O.k.......
here is the my setting in Windows......simply how do i apply this in linux
ip address : 10.10.10.21
sub net mask :255.255.255.0
defaultgateway 10.10.10.10
DNS 1 :202.133.44.5
DNS 2 :202.133.55.6
Firewall disabled
mac address:OO:O2-B3-3e-ce-ea My isp record mac address so no other computer can connect using these settings







Quote:

Intel(R) PRO/100 VE Network Connection: This card is not detected by BackTrack2 how do i config it
How do i detect this one??







Quote:

I must admit that I haven't used Backtrack for a long time. Do you have 255 different DNS-servers to use? You would need a more spesific IP-adress, unless you are hiding the rest for us. Anyway, add "nameserver 202.133.44.x" to /etc/resolv.conf

Then start your network-card with: ifconfig eth0 10.10.10.2x netmask 255.255.255.0
Then add your gateway with: route add default gw 10.10.10.10
I did this but when i tried to ping 10.10.10.9 (other computer always online) it gave me response something like "destination unreachable"
When i tried to ping google.com it says something google host not found

larkl 10-16-2007 06:24 AM

What's the output of ifconfig after you did the above?

dstar101 10-16-2007 08:02 AM

Here is the output


Quote:


Darkstar ~ # ifconfig eth0 10.10.10.21 netmask 255.255.255.0
Darkstar ~ # route add default gw 10.10.10.10
Darkstar ~ # nano /etc/resolv.conf

# Generated by dhcpcd for interface eth0
search localdomain
nameserver 202.133.44.6

Darkstar ~ # ping google.com
ping: unknown host google.com
Darkstar ~ # ping 10.10.10.9
PING 10.10.10.9 (10.10.10.9) 56(84) bytes of data.
From 10.10.10.138 icmp_seq=1 Destination Host Unreachable
From 10.10.10.138 icmp_seq=2 Destination Host Unreachable
From 10.10.10.138 icmp_seq=3 Destination Host Unreachable
From 10.10.10.138 icmp_seq=4 Destination Host Unreachable
From 10.10.10.138 icmp_seq=5 Destination Host Unreachable
From 10.10.10.138 icmp_seq=6 Destination Host Unreachable
From 10.10.10.138 icmp_seq=7 Destination Host Unreachable
From 10.10.10.138 icmp_seq=8 Destination Host Unreachable
From 10.10.10.138 icmp_seq=9 Destination Host Unreachable

--- 10.10.10.9 ping statistics ---
10 packets transmitted, 0 received, +9 errors, 100% packet loss, time 9024ms
, pipe 3
Darkstar ~ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:02:B3:3E:CE:EA
inet addr:10.10.10.21 Bcast:10.10.10.255 Mask:255.255.255.0
inet6 addr: fe80::202:b3ff:fe3e:ceea/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1480 (1.4 KiB) TX bytes:1480 (1.4 KiB)

Darkstar ~ #

selva146 10-16-2007 08:13 AM

first check you self ping

ping 10.10.10.21

if that succeeds then there is no problem in NIC.

check the network cable.

dstar101 10-16-2007 10:52 AM

Quote:

PING 10.10.10.138 (10.10.10.21) 56(84) bytes of data.
64 bytes from 10.10.10.21: icmp_seq=1 ttl=64 time=0.020 ms
64 bytes from 10.10.10.21: icmp_seq=2 ttl=64 time=0.026 ms
64 bytes from 10.10.10.21: icmp_seq=3 ttl=64 time=0.025 ms
When pinging my self

Quote:

check the network cable.
As for network cable it is alright and i can access resources from other computer's in Windoz
In linux it is still not working

dohpaz 10-16-2007 11:49 AM

Have you tried using "netconfig"? Since this is a slackware based livecd.


All times are GMT -5. The time now is 03:24 PM.