How to set up ethernet and pppoe

2019-01-16 Thread jpff
My firewall computer is showing problems, including a failed update from 
wheezy to jessie, and I reported disk read error (according to smartd) so 
I am trying to build a new machine.  I have installed stretch on the new 
system but I have got problems beyond my knowledge.


The install gave me a system with a network managed where I have always 
used ifconfig and the like and /etc/network/interface and do not know 
to remove the network manager and install the "legacy" tools.  So I have a 
lan interface but no potential wan.


The more detailed issue is how to configure the second Ethernet to support 
pppoe.  At present the new machine is on my desk but when I move it to the 
WAN it will need to be running pppoe on the second interface or I will be 
isolated from the world (and advice).


I also need to remove gnome which was installed in error and add the 
iptable changes.


Help!
==John ff



Re: More on locale

2018-07-10 Thread jpff

I have those files except the last htl one.

I should have added that I have been running this macine for years and 
this started recently, a month or two I think.


On Tue, 10 Jul 2018, Zenaan Harkness wrote:


On Mon, Jul 09, 2018 at 06:37:19PM +0100, John wrote:

A short time ago I sought your advice about messages  I am getting
about locales  I thought I did what was suggested but I still see

  CC   libclamav_internal_utils_nothreads_la-strlcat.lo
../libtool: line 1748: warning: setlocale: LC_CTYPE: cannot change
locale (en_US.UTF-8)
when compiling, and

(firefox-esr:11622): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.

from firefox.  There are other similar.   I have not got this problem
on any other machine.  How can I fix it, and ensure it does not happen
again?


I'm not sure, but try running locate on your locale e.g.:

$ locate en_US.UTF-8
/usr/share/X11/locale/en_US.UTF-8
/usr/share/X11/locale/en_US.UTF-8/Compose
/usr/share/X11/locale/en_US.UTF-8/XI18N_OBJS
/usr/share/X11/locale/en_US.UTF-8/XLC_LOCALE
/usr/share/doc/libx11-dev/i18n/compose/en_US.UTF-8.html


If you don't have those (or similar) locale files, you need to enable
and generate that (evidently required, based on your environment)
locale.

Good luck,





Re: A long rant on Debian 9

2018-05-08 Thread jpff

The next installment

I booted the machine just recently and I am not sure what I did but I 
noticed that both the wired and wifi interfaes were up.  I took the wired 
down

  ifconfig enp2s1 down
and it continued to ping my gateway and the bbc.  More than that it 
allowed be to use aptitude to get firefox.


I tried a number of changes to /etc/network/interfaces and I seem to have 
it working.  So now back to installing compilers and development tools



As ever I apologise for what were probably trivia questions.  My only 
excuse is age  -- I predate networks and operating systems.





Re: A long rant on Debian 9

2018-05-08 Thread jpff

On Mon, 7 May 2018, Brian wrote:


On Mon 07 May 2018 at 18:17:07 +0100, jpff wrote:


Things are getting better if not quite right.  I have a lean x/fvwm system
installed and I have managed to get an xterm displayed.  The major issues I
have left outstanding are


If you have fvwm on the system it was installed after first boot. To
state the obvious, either WiFi or ethernet was used. Which one was it?



I did a complete reinstall using wired network, but ensured no desktp of 
any kind.  Then added the most obvious things like fvwm, exim, emacs and 
some others



 >

1:  The X40 has a three-mbutton trackpoint but while button 1 works, button
2 has no affect and button 3 does what button 2 should do.  Not seen that
before and not sure where to look.




 > Dunno. It is not critical. Put it on the back burner.

Just makes it hard to se.  The middle button works in xterm but not in 
fvwm.  Maybe not critical but a problem for my fingers who have been doing 
this for so long


 >

2:  Still no wifi.  iwconfig allows me to set key and essid etc but ifup
says it has not heard about wlp2s2 which is the name "ip link" gives.
Sometimes the wifi is active judging from the flashing of the lights but no
connection.  I am used to using ifconfig/iwconfig on other machines.


You have installed wireless-tools (the installer doesn't). You could
also install net-tools if you feel more comfortable with it. Please
post the contents of /etc/network/interfaces and the output of 'ip a'.



I have net-tools, not sure about wireless-tools.  Will check when I can 
get back to a wired location.  On the 64bit laptop at present ssh'ed into 
the Debian firewall.



3:  My wifi is WPA-PSK (I think version 2).  Is teresoe package I eed for
this?  Just realised that I have never used wifi on debian boxes


Apart from wpasupplicant, no.


I see evidence of some wps- files but not akl I expect from other systems




And again thank you all for your advice and comments. It is getting better.


Answering a question or two might see a dramatic increase in betterness.



AFIK I have answered all questions; apologies if I am being unclear.


--
Brian.



==John ff



Re: A long rant on Debian 9

2018-05-07 Thread jpff
Things are getting better if not quite right.  I have a lean x/fvwm system 
installed and I have managed to get an xterm displayed.  The major issues 
I have left outstanding are


1:  The X40 has a three-mbutton trackpoint but while button 1 works, 
button 2 has no affect and button 3 does what button 2 should do.  Not 
seen that before and not sure where to look.



2:  Still no wifi.  iwconfig allows me to set key and essid etc but ifup 
says it has not heard about wlp2s2 which is the name "ip link" gives. 
Sometimes the wifi is active judging from the flashing of the lights but 
no connection.  I am used to using ifconfig/iwconfig on other machines.



3:  My wifi is WPA-PSK (I think version 2).  Is teresoe package I eed for 
this?  Just realised that I have never used wifi on debian boxes



And again thank you all for your advice and comments. It is getting 
better.


==John ff



Re: A long rant on Debian 9

2018-05-07 Thread jpff





And thank you all who pointed me at the non-free installer files.  I will
try that later today with luck




well, modified rapture1

i booted from the usb stick with the firmware .iso and tried an install. I 
accepted the licence for the firmware and proceeded to configure the wifi.


It asked for the ESSID offering me the correct one, and I said it was PSK. 
It then asked for the passphrase which I provided, and then into a loop 
which network?

which essid?
what passphrase?

until I got bored. So it still does not configure the wifi

So for want f a better idea I plugged in the wired network and just did a 
reboot.  Working from the tty on alt-f1 I tried to look at the network -- 
not sure what I did but I eventually noticed the wifi was working with the 
same ip  address as the wired.  Pulled the plug on ethernet and carried on 
trying to get a more reasonable software base.  Actually got xorg/xdm/fvwm 
all "working" with missing stuff on the menus, in particular xterm.  So 
tried to install it, and then I rebooted --- no wifi now an no idea how to 
fix.


Would ubuntu give me a stable base i wonder.  I do not seem to be getting 
anywhere yet.


==John ff



Re: A long rant on Debian 9

2018-05-07 Thread jpff
That looks interesting; it attemts to answer my deep problem about no X, 
xdm, xterm etc.


My problem nowis I do not know where/how to apply this.  I have not seen 
any mention of a kernel command line in the net install.  More please!


And thank you all who pointed me at the non-free installer files.  I will 
try that later today with luck



On Sun, 6 May 2018, Felix Miata wrote:


John composed on 2018-05-06 21:51 (UTC+0100):


How do I get a working computer?  I can ssh in from elsewhere but that
is not what I need.  And I need wifi.


My Debian installations are all net installs that include

tasks=standard base-installer/install-recommends=false

on the kernel cmdline. I get nothing I don't need installed that way. Xorg and
whatever else I need I get with apt* once booted normally.

I don't use WiFi.
--
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/





Re: debian-user-digest Digest V2018 #128

2018-01-31 Thread jpff
Thank yu for your response.  It must be tat I misinterpretted the error 
message


/usr/bin/c++-ffast-math -mfpmath=sse -msse2 -fomit-frame-pointer 
-fvisibility=hidden -fvisibility=hidden -DHAVE_ATOMIC_BUILTIN -g 
CMakeFiles/winsound.dir/winsound.cxx.o 
CMakeFiles/winsound.dir/winsound/main.cxx.o  -o ../winsound -rdynamic 
/usr/lib/x86_64-linux-gnu/libfltk_images.a 
/usr/lib/x86_64-linux-gnu/libfltk_forms.a 
/usr/lib/x86_64-linux-gnu/libfltk.a -lSM -lICE -lX11 -lXext -lm 
../libcsound64.so.6.0 -lpthread -lpng -lz -ljpeg -lXft -lfontconfig 
-lXinerama -lX11 -lm -Wl,-rpath,/home/jpff/csound6:
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libfltk.a(Fl_x.o): undefined 
reference to symbol 'dlsym@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from 
command line

collect2: error: ld returned 1 exit status
frontends/CMakeFiles/winsound.dir/build.make:122: recipe for target 
'winsound' failed

make[2]: *** [winsound] Error 1

The assummptiowas as thisused to work I must have udated something new in 
the C world.  Time to look elsewhere

==John ff



Upgrade problems (wheezy->jessie)

2017-09-20 Thread jpff
I seem to need to upgrade to Debian stretch to install my printer as
it needs hplip 3.16.11, ad I was running wheezy.  I understand this
needs to be done in two stages, wheezy->jessie->stretch, but I still
need advice as I cannot find out the solution to my problem.

I tried upgrading from Wheezy to Jessie using apt-get upgrade and
apt-get dist-upgrade as the instructions said.  All seemed OK until
disaster struck when the Jessie failed to reboot.  As the computer is
headless I had to dismantle it all, loose the internet to the entire
LAN, and find USB keyboard and dvi cable for screen.  Eventually
discovered that the kernel installed with Jessie did not load, but the
previous kernel did.  An hour or so thinking and I managed to get
autobooting to work so re-installed with internet and hidden
location , and eventually communication resumed.  But...

1) Why will vmlinuz-3.16.0-4-amd64 not load (says loading and the does
nothing for over 30mins) when vmlinuz-3.2.0-4-amd64 does load?

2) Is it OK to run with the older kernel?

3) More importantly will it happen on Jessie->Stretch as climbing up
to dismantle the local net is hard (I have a balance issue) or is
there a way of testing before rebooting?

Any help very welcome

==John ff