ACC SHELL

Path : /usr/share/YaST2/modules/
File Upload :
Current File : //usr/share/YaST2/modules/DNS.ybc

YaST bytecode 1.4.0DNSODNS.ycpNetHwDetectionHostnameIPNetworkInterfacesProductFeaturesProgressServiceString	network/routines.ycp
CallPopupNetworkService

PackageSystemArchConfirmMapNetmaskModeAbort	PollAbortReallyAbortReallyAbortCond
ScreenName	ProgressNextStage	ChangeWidgetIfExists
QueryWidgetIfExists
PackagesInstall
	ChangedComment			BusyPopup	BusyPopupClose
list2items hwlist2items!FinishPopup
			"
DriverType		#hasAnyValue	$	needHwcfg%getHardware	&
getIfcName		'DistinguishedName		(
DeviceName	)ControllerType	*ReadHardware	+validPrefixOrNetmask		,disableItemsIfNM-network/runtime.ycp.Desktop/ISDN0Package1
RunSuSEconfig2RunSuSEconfigModule	3HasLink4HaveDialupLikeInterfaces5SetupSMPPPD6proposal_valid7hostname	8domain	9nameservers	:
searchlist	;
dhcp_hostname<write_hostname=resolv_conf_policy	>oldhostname	?modified@ReadNameserver	AReadHostDomain		BGetDHCPHostnameIP		C	ResolveIP		DDefaultWriteHostnameEReadHostnameFProposeHostnameGresolv_conf	HinitializedIReadJWriteKImportLExportMSummary	NIsHostLocal			--66!77&88+99-::.;;0<<1==2??:@@Cns	AAQhn	dn	BB_DDEEFFIIJJKKPsettingsLL}MMNN
check_host	W3SCRReadWriteExecute3SCRReadWriteExecute3UI	PollInput
OpenDialogCloseDialogChangeWidget

QueryWidget


BusyCursor
FakeUserInputWidgetExists
3SCRReadWriteExecute0network3NetHwDetection	ResolveIP		3HostnameSplitFQ		MergeFQ			3IPCheck6	Check4	Check	3NetworkInterfacesReaddevice_type		Locate			3ProductFeaturesGetBooleanFeature		3ProgressNew					NextStageTitle	3ServiceStart	Stop	Status	Enable	Disable	Reload	3String	CutBlanks		
FirstChunk			Random	1network/routines.ycp0network3CallFunction	3PopupReallyAbort
YesNoHeadline		YesNo	
AnyMessage		Warning	3NetworkService	IsManaged3
PackageSystem"CheckAndInstallPackagesInteractive	3Archs3903Confirm	Detection		3MapValues3NetmaskCheck6	Check4	CheckPrefix4	3Modecommandlinenormalinstallationautoinst%!	(#-#-$abort-*%1	-2abort%9	-:%Fmodified		-G||!%Rname			-R%Ztitle			,[
,\
%eidparam
value		(f-,g,i	
y2debug	
Not changing: %1%sidparam
value		(t--u,v	
y2debug	
Not changing: %1-w%packages		Packagetext	ret	
(	-next,	
y2debug	
Checking packages: %13PackageInstalledAll	
InstallAll	(-next$+			$These packages need to be installed:network<p>,		foreachl			&+					
sformat		
%1<br>,	
y2debug	
Installing packages: %1$)4	&(.(&&4	&.(!+			XThe required packages are not installed.
The configuration will be aborted.

Try again?
network
.-nextabort%modul		ret	outdate		$
# Changed by YaST2(&&&+			+			 module $SCR::Execute.target.bash_output/bin/date '+%x'$	stdout(&+			+			 -%message			,,VBoxLabel%	,%lselected	itemsn	$	$,foreachi		&additemid&+-% lselected	nolink	itemsn	$	unpluggednetwork$	$,foreachi	hwname	label	num	$nameUnknownnetwork$+			link		
sformat		
 (%1)$num&additemid&+-%!modifiedhead	text	run	params	h	headst	textsret	(!-next$(||& Configuration Successfully Savednetwork$
	dns$DNS Configuration Successfully Savednetworkdsl$DSL Configuration Successfully Savednetworkhost&Hosts Configuration Successfully Savednetworkisdn%ISDN Configuration Successfully Savednetworklan-Network Card Configuration Successfully Savednetworkmodem&Modem Configuration Successfully Savednetworkproxy&Proxy Configuration Successfully Savednetworkprovider)Provider Configuration Successfully Savednetworkrouting(Routing Configuration Successfully Savednetwork&	$ $!mailConfigure mail now?network(%&&	('&)		
sformat		
Run configuration of %1?network$+(,4,	&-(/,/
&2-4next%>"type		drvtype		$?(Ahsi&Bqeth(D||treth&Elcs(G||esconficon&Hctc-I%L#value			(M-M(N	size	-N-O%S$hw	need	$T(V#	modalias4V	(Wsizedrivers	,W	
y2milestone	
<there are more modules available for device, hwcfg is needed4X	,Y	
y2milestone	
=Just one autoloadable module available.No need to write hwcfg&Z(^!#	
driver_module4^	,_	
y2milestone	
built-in driver %1	driver&`-b%u%sysfs_id	Hw	hardware	$v
,wforeachhw_temp		(x		
sformat		
/sys%1	sysfs_id&x-z%}&
devicename		ifcfg	
interfacetype		$~$(		contains	qethhsictclcsiucv4	,	

y2internal	
special device type %1,	
y2error	
 TODO: create ifcfg file for s3904	,	

y2internal	

usual type %1&		
sformat		
ifcfg-%1,	

y2internal	
interface configuration file %1-%'name	hwdevice		(	sysfs_bus_id-		
sformat		
%1 (%2)	sysfs_bus_id-%(hwdevice		delimiter	model	vendor	dev		$ $$$(#	device-	device&	model(&&-&	
sub_vendor&	
sub_device(||4	&	vendor&	device(-+			+			-%)hwdevice	subclass_id		(	subclassModem-modem(	subclassISDN-isdn(	subclassDSL-dsl$sub_class_id(class_id4	(-eth(-tr(-fddi(-atm(-isdn(-ib(-myri(-wlan(-xp(-qeth(-hsi(-ctc(-lcs(-ficon(-escon(-iucv(-usb(4	,	
y2error	
#Unknown network controller type: %1,	
y2error	
;It's probably missing in hwinfo (NOT src/hd/hd.h:sc_net_if)-4	,	
y2error	
#Unknown network controller type: %1-(class_id4	(-ib(class_id4	(-modem(4	,	
y2error	
#Unknown network controller type: %1,	
y2error	
7It's probably missing in hwinfo (src/hd/hd.h:sc_net_if)-4	,	
y2error	
#Unknown network controller type: %1-(class_id4	,	
y2milestone	
CLASS 0x107(-lo(-eth(	-	tr(
-
fddi(-ctc(-iucv(
-
hsi(-qeth(-escon(	-myri(
-wlan(-xp(-usb(4	,	
y2error	
"Unknown network interface type: %1,	
y2error	
7It's probably missing in hwinfo (src/hd/hd.h:sc_net_if)-(-sit4	,	
y2error	
"Unknown network interface type: %1-(!class_id-"modem(#class_id-$isdn(%class_id-&dsl,)	
y2error	
Unknown controller type: %1-*%2*hwtype		Hardwarenumpathsallcardshwtypes		hwstrings		hwstring	bms	broken_modules		found
i	$3	,5	
y2debug	
	hwtype=%1$7$8	$9	$;
dsl
.probe.dslisdn.probe.isdnmodem.probe.modemnetcard.probe.netcard$Bnetcard
Network CardsnetworkmodemModemsnetworkisdn
ISDN CardsnetworkdslDSL Devicesnetwork$NAll Network Devicesnetwork(Ohaskey&O	(P!yast-lan-P	(Shaskey&T	SCR::Read(W||||all,Xmaplistv		&Ymerge	SCR::Read4[	,\	
y2error	
unknown hwtype: %1-]	(`4`	,a	
y2error	
hardware detection failure&b	$g		SCR::Read.etc.install_inf.BrokenModules(h&h$i			splitstring			 ,lmaplistcard	oneresource
controller	card_ok	$m
$presource
$q)$r'sname('ttype'uudi	udi'vsysfs_id	sysfs_id'wdev_name	dev_name'xrequiresrequires	'ymodalias	modalias'zunique	
unique_key'|driver	driver'num('name'	name(modem4speed	'device_name	dev_name'driversdrivers	$baudspeed(4	&,	
y2milestone	
7Driving faster than light is prohibited on this planet.'speed'init1	init_stringsinit1'init2	init_stringsinit2'pppd_options	pppd_optionoption(isdn4drivers	$isdn	'drivers'sel_drv'bus	bus'ioiostart'irqirqirq(dsl4driver_infotranslate_mode		m		$dsl
$
capiadsl	capi-adslpppoepppoe$	mode'pppmode	(4drivershp	bus		$filterd	drivers	module0brk	$modules	$		contains	(4	,	
y2milestone	
In BrokenModules, skipping: %1-!(	4	,	
y2milestone	
No good drivers found4drivermodule0	'drivers$
'activeactive$modules	'module	'options	$	hotplug(||pcmciacardbus'hotplugpcmcia(usb'hotplugusb$		bus_hwcfg	bus(PCI&pci(USB&usb(
Virtual IO&vio'bus'busid	sysfs_bus_id'mac	hwaddraddr'linklinkstate'wl_channelswlanchannels'wl_bitrateswlanbitrates'
wl_auth_modeswlan
auth_modes'wl_enc_modeswlan	enc_modes(&&	module
virtio_pci	dev_name4	&,	
y2milestone	
0Filtering out virtio device without device file.(&&	deviceIUCV	sysfs_bus_idnetiucv4	&,	
y2milestone	
1Filtering out iucv device different from netiucv.,	
y2debug	
found device: %1(4	'size&+4	,	
y2milestone	
Filtering out: %1$	$
,foreachh		(	typewlan4	&	.	&
+
(
	4temp	$
'

'
'num'
num
,	
y2debug	
Hardware=%1-%+ip	mask		
valid_mask	$(			substring		/&			substring		( &&||& (!&&&!,"	
	y2warning	
IP address %1 is not valid-#%-,items
show_popup	disable	$.(/&&4/	,0foreachw		,1idEnabled(344	,5Network is currently controlled by NetworkManager and its settings 
cannot be edited by YaST.

To edit the settings, use NetworkManager connection editor, or
switch the network setup method to Traditional method with ifup.network,9&
IDglobal&;-<2DNS.ycp1network/runtime.ycp3
Desktop3ISDNLocate			3PackageInstalledAll	
InstallAll	0network%1-,	
y2milestone	
Running SuSEconfig ...,SCR::Execute.target.bash,/sbin/SuSEconfig --module apache 2>/dev/null,SCR::Execute.target.bash./sbin/SuSEconfig --module sendmail 2>/dev/null,SCR::Execute.target.bash-/sbin/SuSEconfig --module postfix 2>/dev/null- %(2modul	--()||4)-,*	
y2error	
Wrong SuSEconfig module: %1-+,-	
y2milestone	
Running SuSEconfig module %1-.SCR::Execute.target.bash		
sformat		
/sbin/SuSEconfig --module %1%73ifname	command	-$8eth0$:		
sformat		
(ethtool %1 | grep -q 'Link detected: no'(;SCR::Execute.target.bash-;-<%D4devs	-$EUSERCONTROLyes,F	
y2milestone	
user controlled interfaces: %1(G	4H--I&LUSERCONTROLyes,M	
y2milestone	
#user controlled ISDN interfaces: %1-O	%V5
install_force-ret-$W(Y!44Y-&Z&&smpppd&[&&smpppd4^-&a	smpppd&c&&smpppd(f4f-(gsmpppd&h&&smpppd&j&&smpppd-n2DNS.ycp$!6$&7$+8$-9	$.:	$0;$1<$2=$5>$:?%C@(D||-E&F9-H%QA(R||||-S&T7&U8-W%_Bret		output$`
$bSCR::Execute.target.bash_outputhostname -i'cip			deletechars				stdout 
&eSCR::Execute.target.bash_outputhostname'fhostname_short			deletechars				stdout 
&hSCR::Execute.target.bash_outputhostname -f'ihostname_fq			deletechars				stdout 
-k%tCip	command	getenthnent	$u4/usr/bin/getent hosts "%1" | sed "s/^[0-9.: 	]\+//g"$vSCR::Execute.target.bash_output		
sformat		
$w	stdout,x	
y2debug	
%1&y 	
(z&z,{	
y2debug	
'%1'-|%Dwhth$	globalswrite_hostname_to_hosts,	
y2milestone	
)write_hostname_to_hosts default value: %1-%E
fqhostname	split	$(&&||	SCR::Read.target.size/etc/install.inf4install_inf_hostname	$		SCR::Read.etc.install_inf.Hostname,	
y2milestone	
Got %1 from install.inf(	size	4(4&C,	
y2milestone	
*Got %1 after resolving IP from install.inf&(	size	&?(4(	SCR::Read.target.size
/etc/HOSTNAME4&		SCR::Read.target.string
/etc/HOSTNAME&
,	
y2milestone	
Got %1 from /etc/HOSTNAME$&7	&8	(74&7linux&8site%F(7linux4,srandom&7+			linux-$G/etc/resolv.conf$H%Itmp1	tmp2	
resolvlist	(H-$		SCR::Read-.sysconfig.network.dhcp.DHCLIENT_SET_HOSTNAME&;yes$		SCR::Read/.sysconfig.network.dhcp.WRITE_HOSTNAME_TO_HOSTS&<yes&=		SCR::Read..sysconfig.network.config.NETCONFIG_DNS_POLICY$			splitstring					SCR::Read6.sysconfig.network.config.NETCONFIG_DNS_STATIC_SERVERS (size&9&:			splitstring					SCR::Read9.sysconfig.network.config.NETCONFIG_DNS_STATIC_SEARCHLIST ,E&>78,	
y2milestone	
nameservers=%19,	
y2milestone	

searchlist=%1:,	
y2milestone	
hostname=%17,	
y2milestone	
	domain=%18&H-%J
fqhostname	steps	caption	sl!$78&>,
SCR::Write-.sysconfig.network.dhcp.DHCLIENT_SET_HOSTNAME;yesno,
SCR::Write/.sysconfig.network.dhcp.WRITE_HOSTNAME_TO_HOSTS<yesno,
SCR::Write.sysconfig.network.dhcp,	
y2milestone	
Writing configuration(!?4,	
y2milestone	
%No changes to DNS -> nothing to write-,	
y2milestone	
nameservers=%19,		
y2milestone	

searchlist=%1:,
	
y2milestone	
hostname=%17,	
y2milestone	
	domain=%18,	
y2milestone	
#dhcp_hostname=%1, write_hostname=%2;<$Write hostnamenetworkRun SuSEconfignetworkUpdate /etc/resolv.confnetwork$%Saving Hostname and DNS Configurationnetwork$,
 size	,"Writing hostname...network,%SCR::Execute.target.bash+			/bin/hostname 7,(
SCR::Write.target.string
/etc/HOSTNAME+			
,)sleep,,Running SuSEconfig...network,/1,0sleep,9Updating /etc/resolv.conf ...network,;
SCR::Write..sysconfig.network.config.NETCONFIG_DNS_POLICY=,<
SCR::Write9.sysconfig.network.config.NETCONFIG_DNS_STATIC_SEARCHLIST			mergestring			: ,=
SCR::Write6.sysconfig.network.config.NETCONFIG_DNS_STATIC_SERVERS			mergestring			9 ,>
SCR::Write.sysconfig.network.config,@SCR::Execute.target.bash/sbin/netconfig update,Bsleep,D
&E?-F%PK&Q;
dhcp_hostname&S=	resolv_conf_policyauto(Vhaskeywrite_hostname&W<write_hostname&Z<D(]&&haskeyhostnamehaskeydomain4]&^7	hostname&_8	domainsite4a,cE,eF&h9evalnameservers	&i:eval
searchlist	&j?&mH
,o	
y2milestone	
DNS Import:,p	
y2milestone	
nameservers=%19,q	
y2milestone	

searchlist=%1:,r	
y2milestone	
hostname=%17,s	
y2milestone	
	domain=%18,t	
y2milestone	
#dhcp_hostname=%1, write_hostname=%2;<-v%}Lexpdns		$~
(	size	7'hostname7(	size	8'domain8(size9'nameservers		eval9(size:'
searchlist		eval:'
dhcp_hostname;'resolv_conf_policy='write_hostname<-%MSummarysummary	has_dhcpnslist	
3SummaryAddListItem			$$size	BOOTPROTOdhcp(&&;&Hostname: Set by DHCPnetwork(	size	7&		
sformat		
Hostname: %1network78(!<&*Hostname will not be written to /etc/hostsnetwork$				maplistns	9nss	$-+			+			+			 ()(size&		
sformat		
Name Servers: %1network			mergestring			, (size:&		
sformat		
Search List: %1network			mergestring			:, (	size	--+			+			<ul></ul>%N	dhcp_data		,I,$
(||size	BOOTPROTOdhcp;4&B,	
y2milestone	
Got DHCP-configured data: %1(||	127.0.0.1::1-(||	localhostlocalhost.localdomain-(4(||sizeIPADDRip	-(4,	
y2debug	
=TODO make it similar to IPv4 after other code adapted to IPv6(		findfirstof		.4(||		tolower				tolower		7hostname_short	-4(||		tolower				tolower		+			+			7.8hostname_fq	--

ACC SHELL 2018