A few questions about stretch ( testing ) on a PowerMac G5

2017-02-04 Thread dev_user


Dear Debian power types :

I managed to install a bare and simple stretch ( testing ) release 
onto a PowerMac G5 using the DVD ISO image such that my 
/etc/apt/sources.list says :




deb cdrom:[Debian GNU/Linux testing _Stretch_ - Official Snapshot 
powerpc DVD Binary-1 20161031-06:51]/ stretch main




The first of many little problems that I hit is that the nouveau 
driver is just terrible and all I see on the screen is a very very 
messed up pile of what looks like static. So there is no GUI no 
graphical login at all that works. I created a file in /etc/modprobe.d/ 
thus :


root@charon:/etc/apt# cat /etc/modprobe.d/nvidia-graphics-drivers.conf
blacklist nouveau
blacklist lbm-nouveau
blacklist nvidia-173
blacklist nvidia-96
blacklist nvidia-current
blacklist nvidia-173-updates
blacklist nvidia-96-updates
alias nvidia nvidia_current_updates
alias nouveau off
alias lbm-nouveau off

This solved the nasty graphics problem after a reboot. I now can 
hit CTRL-F1 and get a text login. That did not work at all before.


I was able to ssh in to the unit and did change the 
/etc/network/interfaces file so that I have a static ip and no more 
dhcp. However I am still stuck with ipv6 and thus any attempt to use a 
repo mirror just hangs badly for about four minutes or so before 
reverting to ipv4 which does work. However my /etc/resolv.conf file is 
wrecked and only has ipv6 entries in it and they don't work :


root@charon:/etc/apt# cat /etc/resolv.conf
nameserver 2607:f798:18:10:0:640:7125:5204
nameserver 2607:f798:18:10:0:640:7125:5198

I have no idea where that comes from but they don't work. I attempt 
to edit the file but it gets instantly and magically overwritten by some 
horrible gremlin that changes the file back to ipv6 only. I don't know why.


So question one is how do I edit the /etc/apt/sources.list to get a 
valid repo site somewhere for packages?  Nothing I seem to enter there 
works at all and I only ever see ( after a lot of hang time ) this 
message :


root@charon:/etc/apt# cat /etc/apt/sources.list
#
#deb cdrom:[Debian GNU/Linux testing _Stretch_ - Official Snapshot 
powerpc DVD Binary-1 20161031-06:51]/ stretch main


deb http://ftp.ca.debian.org/debian testing main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ testing main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib

root@charon:/etc/apt# apt-get update
0% [Connecting to ftp.ca.debian.org (2607:f748:10:12::deb:1)] 
[Connecting to security.debian.org (2607:ea00:101:3c0b::1deb:215)]

.
.  go for a coffee ... this hangs badly for a while
.   watch the clock for ... four or five minutes .. or longer

Hit:1 http://ftp.ca.debian.org/debian testing InRelease 

Hit:2 http://security.debian.org stretch/updates InRelease 


Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-powerpc/Packages' as 
repository 'http://ftp.ca.debian.org/debian testing InRelease' doesn't 
support architecture 'powerpc'
N: Skipping acquire of configured file 'contrib/binary-powerpc/Packages' 
as repository 'http://ftp.ca.debian.org/debian testing InRelease' 
doesn't support architecture 'powerpc'


So that fails, eventually.

What content do I need in the /etc/apt/sources.list file to get a repo 
that supports powerpc ?


some basic info here :

root@charon:~# uname -a
Linux charon 4.7.0-1-powerpc64 #1 SMP Debian 4.7.8-1 (2016-10-19) ppc64 
GNU/Linux


root@charon:~# cat /proc/cpuinfo
processor   : 0
cpu : PPC970MP, altivec supported
clock   : 2500.00MHz
revision: 1.1 (pvr 0044 0101)

processor   : 1
cpu : PPC970MP, altivec supported
clock   : 2500.00MHz
revision: 1.1 (pvr 0044 0101)

processor   : 2
cpu : PPC970MP, altivec supported
clock   : 2500.00MHz
revision: 1.1 (pvr 0044 0101)

processor   : 3
cpu : PPC970MP, altivec supported
clock   : 2500.00MHz
revision: 1.1 (pvr 0044 0101)

timebase: 
platform: PowerMac
model   : PowerMac11,2
machine : PowerMac11,2
motherboard : PowerMac11,2 MacRISC4 Power Macintosh
detected as : 337 (PowerMac G5 Dual Core)
pmac flags  : 
L2 cache: 1024K unified
pmac-generation : NewWorld
root@charon:~#


So ... I am at a loss here.

Dennis



Re: A few questions about stretch ( testing ) on a PowerMac G5

2017-02-04 Thread Kristen R
On Feb 4, 2017, at 2:12 PM, dev_user  wrote:
> 
> 
> Dear Debian power types :
> 
>I managed to install a bare and simple stretch ( testing ) release onto a 
> PowerMac G5 using the DVD ISO image such that my /etc/apt/sources.list says :
> 
> 
> 
>deb cdrom:[Debian GNU/Linux testing _Stretch_ - Official Snapshot powerpc 
> DVD Binary-1 20161031-06:51]/ stretch main
> 
> 
> 
>The first of many little problems that I hit is that the nouveau driver is 
> just terrible and all I see on the screen is a very very messed up pile of 
> what looks like static. So there is no GUI no graphical login at all that 
> works. I created a file in /etc/modprobe.d/ thus :
> 
> root@charon:/etc/apt# cat /etc/modprobe.d/nvidia-graphics-drivers.conf
> blacklist nouveau
> blacklist lbm-nouveau
> blacklist nvidia-173
> blacklist nvidia-96
> blacklist nvidia-current
> blacklist nvidia-173-updates
> blacklist nvidia-96-updates
> alias nvidia nvidia_current_updates
> alias nouveau off
> alias lbm-nouveau off
> 
>This solved the nasty graphics problem after a reboot. I now can hit 
> CTRL-F1 and get a text login. That did not work at all before.
> 
>I was able to ssh in to the unit and did change the 
> /etc/network/interfaces file so that I have a static ip and no more dhcp. 
> However I am still stuck with ipv6 and thus any attempt to use a repo mirror 
> just hangs badly for about four minutes or so before reverting to ipv4 which 
> does work. However my /etc/resolv.conf file is wrecked and only has ipv6 
> entries in it and they don't work :
> 
> root@charon:/etc/apt# cat /etc/resolv.conf
> nameserver 2607:f798:18:10:0:640:7125:5204
> nameserver 2607:f798:18:10:0:640:7125:5198
> 
>I have no idea where that comes from but they don't work. I attempt to 
> edit the file but it gets instantly and magically overwritten by some 
> horrible gremlin that changes the file back to ipv6 only. I don't know why.
> 
>So question one is how do I edit the /etc/apt/sources.list to get a valid 
> repo site somewhere for packages?  Nothing I seem to enter there works at all 
> and I only ever see ( after a lot of hang time ) this message :
> 
> root@charon:/etc/apt# cat /etc/apt/sources.list
> #
> #deb cdrom:[Debian GNU/Linux testing _Stretch_ - Official Snapshot powerpc 
> DVD Binary-1 20161031-06:51]/ stretch main
> 
> deb http://ftp.ca.debian.org/debian testing main contrib non-free
> deb-src http://ftp.ca.debian.org/debian/ testing main contrib non-free
> 
> deb http://security.debian.org/ stretch/updates main contrib non-free
> deb-src http://security.debian.org/ stretch/updates main contrib
> 
> root@charon:/etc/apt# apt-get update
> 0% [Connecting to ftp.ca.debian.org (2607:f748:10:12::deb:1)] [Connecting to 
> security.debian.org (2607:ea00:101:3c0b::1deb:215)]
> .
> .  go for a coffee ... this hangs badly for a while
> .   watch the clock for ... four or five minutes .. or longer
> 
> Hit:1 http://ftp.ca.debian.org/debian testing InRelease
> Hit:2 http://security.debian.org stretch/updates InRelease
> Reading package lists... Done
> N: Skipping acquire of configured file 'main/binary-powerpc/Packages' as 
> repository 'http://ftp.ca.debian.org/debian testing InRelease' doesn't 
> support architecture 'powerpc'
> N: Skipping acquire of configured file 'contrib/binary-powerpc/Packages' as 
> repository 'http://ftp.ca.debian.org/debian testing InRelease' doesn't 
> support architecture 'powerpc'
> 
> So that fails, eventually.
> 
> What content do I need in the /etc/apt/sources.list file to get a repo that 
> supports powerpc ?
> 
> some basic info here :
> 
> root@charon:~# uname -a
> Linux charon 4.7.0-1-powerpc64 #1 SMP Debian 4.7.8-1 (2016-10-19) ppc64 
> GNU/Linux
> 
> root@charon:~# cat /proc/cpuinfo
> processor   : 0
> cpu : PPC970MP, altivec supported
> clock   : 2500.00MHz
> revision: 1.1 (pvr 0044 0101)
> 
> processor   : 1
> cpu : PPC970MP, altivec supported
> clock   : 2500.00MHz
> revision: 1.1 (pvr 0044 0101)
> 
> processor   : 2
> cpu : PPC970MP, altivec supported
> clock   : 2500.00MHz
> revision: 1.1 (pvr 0044 0101)
> 
> processor   : 3
> cpu : PPC970MP, altivec supported
> clock   : 2500.00MHz
> revision: 1.1 (pvr 0044 0101)
> 
> timebase: 
> platform: PowerMac
> model   : PowerMac11,2
> machine : PowerMac11,2
> motherboard : PowerMac11,2 MacRISC4 Power Macintosh
> detected as : 337 (PowerMac G5 Dual Core)
> pmac flags  : 
> L2 cache: 1024K unified
> pmac-generation : NewWorld
> root@charon:~#
> 
> 
> So ... I am at a loss here.
> 
> Dennis
> 

It is a shame but the PowerPC line from Apple has been dropped in Debian. There 
was a discussion a while back I loosely followed on the powerpc list you can 
search for. I believe you can run Jessie still and have a working system. Your 
packages w

Re: A few questions about stretch ( testing ) on a PowerMac G5

2017-02-04 Thread herminio . hernandezjr
PowerPC has been dropped as release architecture in Debian. If you want
to keep your packages up to date you will need to use the unstable
repos.
On Sat, 2017-02-04 at 15:10 -0900, Kristen R wrote:
> On Feb 4, 2017, at 2:12 PM, dev_user  wrote:
> > 
> > Dear Debian power types :
> > 
> >    I managed to install a bare and simple stretch ( testing )
> > release onto a PowerMac G5 using the DVD ISO image such that my
> > /etc/apt/sources.list says :
> > 
> > 
> > 
> >    deb cdrom:[Debian GNU/Linux testing _Stretch_ - Official
> > Snapshot powerpc DVD Binary-1 20161031-06:51]/ stretch main
> > 
> > 
> > 
> >    The first of many little problems that I hit is that the nouveau
> > driver is just terrible and all I see on the screen is a very very
> > messed up pile of what looks like static. So there is no GUI no
> > graphical login at all that works. I created a file in
> > /etc/modprobe.d/ thus :
> > 
> > root@charon:/etc/apt# cat /etc/modprobe.d/nvidia-graphics-
> > drivers.conf
> > blacklist nouveau
> > blacklist lbm-nouveau
> > blacklist nvidia-173
> > blacklist nvidia-96
> > blacklist nvidia-current
> > blacklist nvidia-173-updates
> > blacklist nvidia-96-updates
> > alias nvidia nvidia_current_updates
> > alias nouveau off
> > alias lbm-nouveau off
> > 
> >    This solved the nasty graphics problem after a reboot. I now can
> > hit CTRL-F1 and get a text login. That did not work at all before.
> > 
> >    I was able to ssh in to the unit and did change the
> > /etc/network/interfaces file so that I have a static ip and no more
> > dhcp. However I am still stuck with ipv6 and thus any attempt to
> > use a repo mirror just hangs badly for about four minutes or so
> > before reverting to ipv4 which does work. However my
> > /etc/resolv.conf file is wrecked and only has ipv6 entries in it
> > and they don't work :
> > 
> > root@charon:/etc/apt# cat /etc/resolv.conf
> > nameserver 2607:f798:18:10:0:640:7125:5204
> > nameserver 2607:f798:18:10:0:640:7125:5198
> > 
> >    I have no idea where that comes from but they don't work. I
> > attempt to edit the file but it gets instantly and magically
> > overwritten by some horrible gremlin that changes the file back to
> > ipv6 only. I don't know why.
> > 
> >    So question one is how do I edit the /etc/apt/sources.list to
> > get a valid repo site somewhere for packages?  Nothing I seem to
> > enter there works at all and I only ever see ( after a lot of hang
> > time ) this message :
> > 
> > root@charon:/etc/apt# cat /etc/apt/sources.list
> > #
> > #deb cdrom:[Debian GNU/Linux testing _Stretch_ - Official Snapshot
> > powerpc DVD Binary-1 20161031-06:51]/ stretch main
> > 
> > deb http://ftp.ca.debian.org/debian testing main contrib non-free
> > deb-src http://ftp.ca.debian.org/debian/ testing main contrib non-
> > free
> > 
> > deb http://security.debian.org/ stretch/updates main contrib non-
> > free
> > deb-src http://security.debian.org/ stretch/updates main contrib
> > 
> > root@charon:/etc/apt# apt-get update
> > 0% [Connecting to ftp.ca.debian.org (2607:f748:10:12::deb:1)]
> > [Connecting to security.debian.org (2607:ea00:101:3c0b::1deb:215)]
> > .
> > .  go for a coffee ... this hangs badly for a while
> > .   watch the clock for ... four or five minutes .. or longer
> > 
> > Hit:1 http://ftp.ca.debian.org/debian testing InRelease
> > Hit:2 http://security.debian.org stretch/updates InRelease
> > Reading package lists... Done
> > N: Skipping acquire of configured file 'main/binary-
> > powerpc/Packages' as repository 'http://ftp.ca.debian.org/debian
> > testing InRelease' doesn't support architecture 'powerpc'
> > N: Skipping acquire of configured file 'contrib/binary-
> > powerpc/Packages' as repository 'http://ftp.ca.debian.org/debian
> > testing InRelease' doesn't support architecture 'powerpc'
> > 
> > So that fails, eventually.
> > 
> > What content do I need in the /etc/apt/sources.list file to get a
> > repo that supports powerpc ?
> > 
> > some basic info here :
> > 
> > root@charon:~# uname -a
> > Linux charon 4.7.0-1-powerpc64 #1 SMP Debian 4.7.8-1 (2016-10-19)
> > ppc64 GNU/Linux
> > 
> > root@charon:~# cat /proc/cpuinfo
> > processor   : 0
> > cpu : PPC970MP, altivec supported
> > clock   : 2500.00MHz
> > revision: 1.1 (pvr 0044 0101)
> > 
> > processor   : 1
> > cpu : PPC970MP, altivec supported
> > clock   : 2500.00MHz
> > revision: 1.1 (pvr 0044 0101)
> > 
> > processor   : 2
> > cpu : PPC970MP, altivec supported
> > clock   : 2500.00MHz
> > revision: 1.1 (pvr 0044 0101)
> > 
> > processor   : 3
> > cpu : PPC970MP, altivec supported
> > clock   : 2500.00MHz
> > revision: 1.1 (pvr 0044 0101)
> > 
> > timebase: 
> > platform: PowerMac
> > model   : PowerMac11,2
> > machine : PowerMac11,2
> > motherboard : PowerMac11,2 MacRISC4 Power Macintosh
> > detected 

Re: A few questions about stretch ( testing ) on a PowerMac G5

2017-02-04 Thread dev_user

On 02/05/2017 12:10 AM, Kristen R wrote:

On Feb 4, 2017, at 2:12 PM, dev_user  wrote:



Dear Debian power types :

   I managed to install a bare and simple stretch ( testing ) release onto a 
PowerMac G5 using the DVD ISO image such that my /etc/apt/sources.list says :



   deb cdrom:[Debian GNU/Linux testing _Stretch_ - Official Snapshot powerpc 
DVD Binary-1 20161031-06:51]/ stretch main



   The first of many little problems that I hit is that the nouveau driver is 
just terrible and all I see on the screen is a very very messed up pile of what 
looks like static. So there is no GUI no graphical login at all that works. I 
created a file in /etc/modprobe.d/ thus :

root@charon:/etc/apt# cat /etc/modprobe.d/nvidia-graphics-drivers.conf
blacklist nouveau
blacklist lbm-nouveau
blacklist nvidia-173
blacklist nvidia-96
blacklist nvidia-current
blacklist nvidia-173-updates
blacklist nvidia-96-updates
alias nvidia nvidia_current_updates
alias nouveau off
alias lbm-nouveau off

   This solved the nasty graphics problem after a reboot. I now can hit CTRL-F1 
and get a text login. That did not work at all before.

   I was able to ssh in to the unit and did change the /etc/network/interfaces 
file so that I have a static ip and no more dhcp. However I am still stuck with 
ipv6 and thus any attempt to use a repo mirror just hangs badly for about four 
minutes or so before reverting to ipv4 which does work. However my 
/etc/resolv.conf file is wrecked and only has ipv6 entries in it and they don't 
work :

root@charon:/etc/apt# cat /etc/resolv.conf
nameserver 2607:f798:18:10:0:640:7125:5204
nameserver 2607:f798:18:10:0:640:7125:5198

   I have no idea where that comes from but they don't work. I attempt to edit 
the file but it gets instantly and magically overwritten by some horrible 
gremlin that changes the file back to ipv6 only. I don't know why.

   So question one is how do I edit the /etc/apt/sources.list to get a valid 
repo site somewhere for packages?  Nothing I seem to enter there works at all 
and I only ever see ( after a lot of hang time ) this message :

root@charon:/etc/apt# cat /etc/apt/sources.list
#
#deb cdrom:[Debian GNU/Linux testing _Stretch_ - Official Snapshot powerpc DVD 
Binary-1 20161031-06:51]/ stretch main

deb http://ftp.ca.debian.org/debian testing main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ testing main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib

root@charon:/etc/apt# apt-get update
0% [Connecting to ftp.ca.debian.org (2607:f748:10:12::deb:1)] [Connecting to 
security.debian.org (2607:ea00:101:3c0b::1deb:215)]
.
.  go for a coffee ... this hangs badly for a while
.   watch the clock for ... four or five minutes .. or longer

Hit:1 http://ftp.ca.debian.org/debian testing InRelease
Hit:2 http://security.debian.org stretch/updates InRelease
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-powerpc/Packages' as 
repository 'http://ftp.ca.debian.org/debian testing InRelease' doesn't support 
architecture 'powerpc'
N: Skipping acquire of configured file 'contrib/binary-powerpc/Packages' as 
repository 'http://ftp.ca.debian.org/debian testing InRelease' doesn't support 
architecture 'powerpc'

So that fails, eventually.

What content do I need in the /etc/apt/sources.list file to get a repo that 
supports powerpc ?

some basic info here :

root@charon:~# uname -a
Linux charon 4.7.0-1-powerpc64 #1 SMP Debian 4.7.8-1 (2016-10-19) ppc64 
GNU/Linux

root@charon:~# cat /proc/cpuinfo
processor   : 0
cpu : PPC970MP, altivec supported
clock   : 2500.00MHz
revision: 1.1 (pvr 0044 0101)

processor   : 1
cpu : PPC970MP, altivec supported
clock   : 2500.00MHz
revision: 1.1 (pvr 0044 0101)

processor   : 2
cpu : PPC970MP, altivec supported
clock   : 2500.00MHz
revision: 1.1 (pvr 0044 0101)

processor   : 3
cpu : PPC970MP, altivec supported
clock   : 2500.00MHz
revision: 1.1 (pvr 0044 0101)

timebase: 
platform: PowerMac
model   : PowerMac11,2
machine : PowerMac11,2
motherboard : PowerMac11,2 MacRISC4 Power Macintosh
detected as : 337 (PowerMac G5 Dual Core)
pmac flags  : 
L2 cache: 1024K unified
pmac-generation : NewWorld
root@charon:~#


So ... I am at a loss here.

Dennis





thank you for the reply .


It is a shame but the PowerPC line from Apple has been dropped in Debian.



crying shame .. I agree.

I tend to enjoy having non-x86 gear around and for RISC that means
PowerPC and SPARC.  Oh gee ... look .. sparc is dropped too.

So I am going to re-install all over again with :

 debian-8.7.1-powerpc-DVD-1.iso

This should be pretty darn stable and with it I can run builds of the
linux kernel or whatever else I am playing

Re: A few questions about stretch ( testing ) on a PowerMac G5

2017-02-04 Thread dev_user



As for the DNS, do not edit /etc/resovl.conf as that is system

> generated. Edit instead the /etc/network/interfaces file and
> list your DNS entries there. After this stop networking, and
> restart (or reboot) and the /etc/resolv.conf will reflect your
> new entries.

hrmmm ... that didn't work for some reason :

root@charon:~# uname -a
Linux charon 3.16.0-4-powerpc64 #1 SMP Debian 3.16.39-1 (2016-12-30) 
ppc64 GNU/Linux

root@charon:~#
root@charon:~# cat /etc/debian_version
8.7

root@charon:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0

iface eth0 inet static
 address 172.16.35.25
 netmask 255.255.255.192
 network 172.16.35.0
 broadcast 172.16.35.63
 gateway 172.16.35.1
 dns-nameservers 224.154.123.123
root@charon:~#


did a reboot and whammo .. the /etc/resolv.conf file is still borked

root@charon:~# cat /etc/resolv.conf
nameserver 2607:f798:18:10:0:640:7125:5204
nameserver 2607:f798:18:10:0:640:7125:5198
root@charon:~#

No darn clue .. why ?

Dennis



Re: A few questions about stretch ( testing ) on a PowerMac G5

2017-02-04 Thread Kristen R
On Feb 4, 2017, at 7:34 PM, dev_user  wrote:
> 
> 
>> As for the DNS, do not edit /etc/resovl.conf as that is system
> > generated. Edit instead the /etc/network/interfaces file and
> > list your DNS entries there. After this stop networking, and
> > restart (or reboot) and the /etc/resolv.conf will reflect your
> > new entries.
> 
> hrmmm ... that didn't work for some reason :
> 
> root@charon:~# uname -a
> Linux charon 3.16.0-4-powerpc64 #1 SMP Debian 3.16.39-1 (2016-12-30) ppc64 
> GNU/Linux
> root@charon:~#
> root@charon:~# cat /etc/debian_version
> 8.7
> 
> root@charon:~# cat /etc/network/interfaces
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> 
> source /etc/network/interfaces.d/*
> 
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> # The primary network interface
> allow-hotplug eth0
> 
> iface eth0 inet static
> address 172.16.35.25
> netmask 255.255.255.192
> network 172.16.35.0
> broadcast 172.16.35.63
> gateway 172.16.35.1
> dns-nameservers 224.154.123.123
> root@charon:~#
> 
> 
> did a reboot and whammo .. the /etc/resolv.conf file is still borked
> 
> root@charon:~# cat /etc/resolv.conf
> nameserver 2607:f798:18:10:0:640:7125:5204
> nameserver 2607:f798:18:10:0:640:7125:5198
> root@charon:~#
> 
> No darn clue .. why ?
> 
> Dennis
> 

Dennis,

For one thing, your DNS name server is a Multicast IP. That is not correct and 
will not work. What IP did you list for DNS in your interfaces config file? You 
should have something in the config file like: dns-nameservers NSip1 NSip2. 
Whatever your ISP provider is providing for DNS. You can find this out on their 
website, or by logging into your home router and looking.

You can view this webpage specific to Debian for help: 
https://wiki.debian.org/NetworkConfiguration#Configuring_the_interface_manually

You can also use $ less /usr/share/doc/resolvconf/README to understand the 
resolvconf program.

Or $ man resolv.conf to understand this file.

Kristen


signature.asc
Description: Message signed with OpenPGP


Re: A few questions about stretch ( testing ) on a PowerMac G5

2017-02-04 Thread dev_user

On 02/05/2017 05:05 AM, Kristen R wrote:

On Feb 4, 2017, at 7:34 PM, dev_user  wrote:




As for the DNS, do not edit /etc/resovl.conf as that is system
generated. Edit instead the /etc/network/interfaces file and
list your DNS entries there. After this stop networking, and
restart (or reboot) and the /etc/resolv.conf will reflect your
new entries.


hrmmm ... that didn't work for some reason :

root@charon:~# uname -a
Linux charon 3.16.0-4-powerpc64 #1 SMP Debian 3.16.39-1 (2016-12-30) ppc64 
GNU/Linux
root@charon:~#
root@charon:~# cat /etc/debian_version
8.7

root@charon:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0

iface eth0 inet static
address 172.16.35.25
netmask 255.255.255.192
network 172.16.35.0
broadcast 172.16.35.63
gateway 172.16.35.1
dns-nameservers 224.154.123.123
root@charon:~#


did a reboot and whammo .. the /etc/resolv.conf file is still borked

root@charon:~# cat /etc/resolv.conf
nameserver 2607:f798:18:10:0:640:7125:5204
nameserver 2607:f798:18:10:0:640:7125:5198
root@charon:~#

No darn clue .. why ?

Dennis



Dennis,

For one thing, your DNS name server is a Multicast IP.


It is a dummy .. sorry .. there is a very real dns server running
iscbind in the datacenter and it works great .. however I can not use
it because something keeps wrecking my resolv.conf over and over and
over.


dns-nameservers NSip1 NSip2.


I have precisely that and the ip of the dns nameserver in the company
datacenter is there and dig @theipaddr foo.com  works like a charm.
From some other machine.



Or $ man resolv.conf to understand this file.


I know that file back to front. I have never seen gremlins chase after
me and wreck it moments after I edit it. I almost feel like running
some sort of trace to find the process that is mangling my resolv.conf
and killing it forever. Seriously ... this is madness. The resolv.conf
file is just a file. A file. Nothing else. Just a file and it should
always be just a text file that once it has been edited it stays put.
But no ... the thing gets wrecked by a gremlin instantly after I try to
fix it.

Also .. my /etc/network/interfaces file is trivial :

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0

iface eth0 inet static
 address 172.16.35.25
 netmask 255.255.255.192
 network 172.16.35.0
 broadcast 172.16.35.63
 gateway 172.16.35.1
 dns-nameservers xxx.yyy.zzz.ddd


I assure you that the ip address of the iscbind name server is perfectly 
correct and I just didn't want to publish it on a mail list.


So .. here I am now with the resolvconf pkg installed and that is
insane drug induced madness. The resolv.conf file should be just a file
that hold ascii and edited by vi and that is all that is ever needed
ever. Something truely obscene is happening on this machine.

dc

ps: sorry for the rant but I can't get rid of ipv6 either




Re: A few questions about stretch ( testing ) on a PowerMac G5

2017-02-04 Thread dev_user



Minor follow up .. check this out :

root@charon:~# nmcli dev status
-su: nmcli: command not found

root@charon:~#  systemctl stop NetworkManager.service
Failed to stop NetworkManager.service: Unit NetworkManager.service not 
loaded.


root@charon:~# /etc/init.d/network-manager stop
-su: /etc/init.d/network-manager: No such file or directory

root@charon:~# ls -l  /etc/NetworkManager/NetworkManager.conf
ls: cannot access /etc/NetworkManager/NetworkManager.conf: No such file 
or directory

root@charon:~#

So Network Mangler can not be found at all however something mangles 
my resolv.conf ... wow is all I can say.


dc



Re: A few questions about stretch ( testing ) on a PowerMac G5

2017-02-04 Thread dev_user

On 02/05/2017 05:05 AM, Kristen R wrote:

On Feb 4, 2017, at 7:34 PM, dev_user  wrote:




As for the DNS, do not edit /etc/resovl.conf as that is system
generated.


It should not be. At all.  However I think I have this fixed now :


charon$ pwd
/usr/local/src

charon$ /usr/bin/time -p wget 
https://ftp.gnu.org/pub/gnu/bash/bash-4.4-patches/bash44-012
converted 'https://ftp.gnu.org/pub/gnu/bash/bash-4.4-patches/bash44-012' 
(ANSI_X3.4-1968) -> 
'https://ftp.gnu.org/pub/gnu/bash/bash-4.4-patches/bash44-012' (UTF-8)
--2017-02-05 00:44:26-- 
https://ftp.gnu.org/pub/gnu/bash/bash-4.4-patches/bash44-012

Resolving ftp.gnu.org (ftp.gnu.org)... 208.118.235.20, 2001:4830:134:3::b
Connecting to ftp.gnu.org (ftp.gnu.org)|208.118.235.20|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5768 (5.6K)
Saving to: 'bash44-012'

 0K  100% 15.4M=0s

2017-02-05 00:44:27 (15.4 MB/s) - 'bash44-012' saved [5768/5768]

real 0.32
user 0.04
sys 0.00
charon$


So previously that would take four minutes while the ipv6 dns data
 failed over and over.


I modified /etc/sysctl.conf also :

charon$ grep -v "^#" /etc/sysctl.conf | grep -v "^$"
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.all.accept_source_route = 0


That seems to have settled down the situation.

yay ... I can finally fetch kernel sources and try a build.


Thank you for your insights and input and just plain patience.

Dennis






Re: A few questions about stretch ( testing ) on a PowerMac G5

2017-02-04 Thread John Paul Adrian Glaubitz
On 02/05/2017 04:24 AM, dev_user wrote:
> I tend to enjoy having non-x86 gear around and for RISC that means
> PowerPC and SPARC.  Oh gee ... look .. sparc is dropped too.

Both PowerPC and SPARC are still supported by the infrastructure. It's
just that neither are currently a release architecture, but that shouldn't
stop you from using them.

For SPARC, just follow this guide to get Debian unstable up and running:

> https://lists.debian.org/debian-sparc/2016/06/msg00126.html

For PowerPC, you just install the latest Jessie release, then switch the
/etc/apt/sources.list from "jessie" to "unstable". Then perform a dist-upgrade
and you have an up-to-date Debian unstable running on powerpc with the latest
kernel and packages.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913