PDA

View Full Version : How to setup internet connection?



sAryL
03-11-2006, 01:30 PM
How can I connect to internet? It's much different in windows?

Harry Kuhman
03-11-2006, 02:02 PM
See answer #3 (http://www.knoppix.net/wiki/User:Harry_Kuhman).

sAryL
03-12-2006, 02:03 PM
I understood nothing. I'm newbie. So explain me very detailed. please.
I use modem (56.6kb/s) to connect internet.

rscholz
08-01-2009, 03:57 PM
OK Harry,

Booted Knoppix CD (LDE) on a DELL Inspiron 531S with a Dual core Athlon 64 3800+
connected to a Belkin router (wired) through a Time warner Cable modem.

Get a network dissconnected in lower right icon. No "edit connections will come up.

Using UNIX for 40 years, just haven't RTFMed Knoppix yet.

WHat's the basic setup pieces.

Harry Kuhman
08-01-2009, 04:16 PM
The basics are that Knoppix does a DHCP handshake with the router at boot time and you are on the network when you boot.

The only router that I have had this fail on was an old Belkin 802.11b router. It would not handshake properly with Knoppix (apparently was only tested with Windows). But a newer Belkin 802.11g and many other routers all worked fine for me. Are you sure that you are not on the network? What is the output of ifconfig?

rscholz
08-01-2009, 08:53 PM
on next reboot network connected - ifupdown eth(0)
ifconfig gave:

knoppix@Microknoppix:~$ ifconfig
eth0
Link encap:Ethernet
HWaddr 00:1a:a0:5f:e7:8e
net addr:192.168.2.6
Bcast:192.168.2.255
Mask:255.255.255.0
inet6 addr: fe80::21a:a0ff:fe5f:e78e/64
Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:192 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000

RX bytes:45317 (44.2 KiB)
TX bytes:1876 (1.8 KiB)
Interrupt:253 Base address:0xc000 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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B)
TX bytes:0 (0.0 B)

the belkin 802.11g sees the IP 192.168.2.6

firefox has a "Bus error" when started from a terminal and will not start from the task bar at all.

What's next?

Harry Kuhman
08-01-2009, 09:34 PM
Well, you are getting an IP address set up by DHCP, so we know that you network interface works with Knoppix and that you can talk to the router. The data looks valid also.

I'm not sure why you can't get the browser working. There has been some discussion here about problems some people have had with IPv6 vs. IPv4 where the IPv6 wasn't working quite right. My ISP isn't supporting IPv6 at all (as far as I know) so I have not run into this myself, but if I remember right (and I frequently don't) they had found some configuration setting in Firefox to disable IPv6 and that resolved the issue. The only other thing other than looking for such a setting that I can suggest that may tell you more is to try the following test:
in a console ping 67.212.237.18
if that works, ping knoppix.net
If the first ping works and the second ping fails you have a DNS issue. Maybe the DNS didn't get set correctly by the DHCP, and perhaps you could run netcardconfig and correct it. If both pings get responses then you have Internet connectivity and just have a browser issue. netcardconfig might even correct that if you point to a differnt DNS server without IPv6 support (this is, of course, all just theory).

Please report back what you learn.

rscholz
08-02-2009, 03:58 PM
pinged both ip address and name
netcardconfig window is wrong for my 1440x900 flat panel display
still tried all options and nothing changed.

I can ftp. Downloaded files from ftp.microsoft.com ( just for testing an outside connection )

Will research IPv6 and DNS change.

I'm running Knoppix 6.??????????
Should I try an older version?

ip link show - did not give any new info.

rscholz
08-03-2009, 11:48 PM
downloaded firefox 3.0 onto hard drive
tar -jxvf'ed it

runs fine now. writing this from knoppix- firefox3.0

firefox on CD still Bus errors

onto the next test.

tried to build ruby from source. almost got to the end of the configure script and failed on "cpp preprocessor check"
Log shows "cpp" with ten different option strings failing. even "cpp -std" with an UNKNOWN error!

What flavor of gcc/cpp does knoppix use?

rscholz
08-06-2009, 02:24 AM
Got Live Dvd 5.3.1 burned

booted from DVD and everything is much better.

Firefox runs from the distribution.

and various packages build from source with gcc without intervention. (emacs23.1, ruby, HACK)

much more included programs and just a better, stable CDROM boot.

after comparing 6.0.1 CD to 5.3.1 DVD go with the DVD (or try Ubuntu) :^0

maestrobwh1
08-25-2009, 08:34 PM
I disagree a little. 5.3 is sluggish and has about 10 kilograms of excess stuff I will never use.

Create a large home directory with 6.01, and just open synaptic and download/upgrade what you need.

I used knoppix prior to the 6.01 release and saving sessions was oddly cumbersome and unreliable for me (.img for home and .tar.gz for config?!) I just never really stuck to it.

I am using 6.01 as my main OS (I have Arch w Kdemod 4.2, Kubuntu Karmic, XP) and not as a Hard install, but as the 'boot from image using a home directory .img' I am not only impressed with it's speed but overall utility.

I guess it depends on what you need.

Some important things ARE missing: build-essential and ndiswrapper. Say you have a wireless device, no lan cable but you do have the win driver. Ndiswrapper is such a small package to have on the CD. Build-essential is not so small, but somewhat necessary.

I wish everyone would drop networkmanager in favor of WICD!