LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   connecting to the net (https://www.linuxquestions.org/questions/debian-26/connecting-to-the-net-581190/)

mrani 08-31-2007 07:38 AM

connecting to the net
 
hello
how can i be connected to the internet in debian etch knowing that i installed just the basic system,and i'm executing 'putty' in a XP machine.
thanks a lot

AlucardZero 08-31-2007 07:52 AM

Plug the Debian box into your router via a cat5 (ethernet) cable?

indienick 08-31-2007 10:48 AM

Your question really doesn't make much sense, sorry.

1. What is your basic network setup; do you use a router or a hub/switch?
2. If you've installed just the basic system you will more than likely need to install a few other packages.
3. If you are on a router which assigns IPs dynamically (through DHCP), run /sbin/ifconfig eth0 to see if your networking is up. NOTE: If your networking isn't alive, your ethernet card will still have an IP address, but it will be a statically-set one.

mrani 08-31-2007 12:00 PM

that's what i need to do,i didn't understand the WEB interface.should i install a browser even i have no graphic interface?

Log on to the WEB interface using http://<ip_addr>/admin

farslayer 08-31-2007 12:03 PM

From a shell you could do a few tests to verify Internet connectivity..

Try to resolve some Internet doman names..
Code:

mhepler@it-etch:~$ dig www.google.com

; <<>> DiG 9.3.4 <<>> www.google.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12023
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.                        IN      A

;; ANSWER SECTION:
www.google.com.        21799  IN      CNAME  www.l.google.com.
www.l.google.com.      300    IN      A      64.233.167.99
www.l.google.com.      300    IN      A      64.233.167.147
www.l.google.com.      300    IN      A      64.233.167.104

;; Query time: 22 msec
;; SERVER: 192.168.0.25#53(192.168.0.25)
;; WHEN: Fri Aug 31 11:59:15 2007
;; MSG SIZE  rcvd: 100


OK so DNS resolution is working.. lets see if we can browse the internet

aptitude update
aptitude install lynx
lynx www.google.com

Code:

                                                              Google (p2 of 2)
  Reader
  Scholar

                                                        iGoogle | Sign in

                                  Google

    _______________________________________________________
  Google Search I'm Feeling Lucky  Advanced Search
    Preferences
    Language Tools

          Advertising Programs - Business Solutions - About Google

                                207 Google





(NORMAL LINK)  Use right-arrow or <return> to activate.
  Arrow keys: Up and Down to move.  Right to follow a link; Left to go back.
 H)elp O)ptions P)rint G)o M)ain screen Q)uit /=search [delete]=history list

Yep Web browsing works.. so Internet connectivity is definitely working..



You need to work on your questions though, not sure if this is what you were asking or not..

mrani 08-31-2007 12:23 PM

when i typed 'aptitude install lynx' it shows me an error telling me that's impossible to initialize the connexion :(
i don't know wher is the problem in that?

farslayer 08-31-2007 03:21 PM

What is the exact error message from aptitude ?

indienick 08-31-2007 03:44 PM

mrani, how do you connect to the internet? Do you have a router?


All times are GMT -5. The time now is 02:59 PM.