Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-15-2007, 05:03 AM
|
#1
|
Member
Registered: Oct 2007
Location: Quetta, Pakistan,South Asia
Distribution: Moving to Ubuntu very soon
Posts: 47
Rep:
|
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
Last edited by dstar101; 10-15-2007 at 05:04 AM.
Reason: Wrong Link
|
|
|
10-15-2007, 01:26 PM
|
#2
|
Member
Registered: Oct 2007
Location: Quetta, Pakistan,South Asia
Distribution: Moving to Ubuntu very soon
Posts: 47
Original Poster
Rep:
|
bump
bump...
|
|
|
10-15-2007, 02:09 PM
|
#3
|
Member
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446
Rep:
|
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.
Last edited by Dinithion; 10-15-2007 at 02:10 PM.
|
|
|
10-16-2007, 03:43 AM
|
#4
|
Member
Registered: Oct 2007
Location: Quetta, Pakistan,South Asia
Distribution: Moving to Ubuntu very soon
Posts: 47
Original Poster
Rep:
|
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
Last edited by dstar101; 10-16-2007 at 10:56 AM.
|
|
|
10-16-2007, 06:24 AM
|
#5
|
Member
Registered: Sep 2007
Distribution: Puppy 5.2.8
Posts: 69
Rep:
|
What's the output of ifconfig after you did the above?
|
|
|
10-16-2007, 08:02 AM
|
#6
|
Member
Registered: Oct 2007
Location: Quetta, Pakistan,South Asia
Distribution: Moving to Ubuntu very soon
Posts: 47
Original Poster
Rep:
|
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 ~ #
|
|
|
|
10-16-2007, 08:13 AM
|
#7
|
Member
Registered: Oct 2007
Location: INDIA
Distribution: Rehat, Fedora, RHEL
Posts: 47
Rep:
|
first check you self ping
ping 10.10.10.21
if that succeeds then there is no problem in NIC.
check the network cable.
|
|
|
10-16-2007, 10:52 AM
|
#8
|
Member
Registered: Oct 2007
Location: Quetta, Pakistan,South Asia
Distribution: Moving to Ubuntu very soon
Posts: 47
Original Poster
Rep:
|
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
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
|
|
|
10-16-2007, 11:49 AM
|
#9
|
Member
Registered: Feb 2006
Location: Edmonton
Distribution: Slackware 12.2, Ubuntu
Posts: 117
Rep:
|
Have you tried using "netconfig"? Since this is a slackware based livecd.
|
|
|
All times are GMT -5. The time now is 02:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|